mirror of
https://github.com/zylon-ai/private-gpt.git
synced 2025-12-22 10:45:42 +01:00
fix: "no such group" error in Dockerfile, added docx2txt and cryptography deps (#1841)
* Fixed "no such group" error in Dockerfile, added docx2txt to poetry so docx parsing works out of the box for docker containers * added cryptography dependency for pdf parsing
This commit is contained in:
parent
49ef729abc
commit
947e737f30
3 changed files with 48 additions and 48 deletions
|
|
@ -33,7 +33,8 @@ ENV PORT=8080
|
|||
EXPOSE 8080
|
||||
|
||||
# Prepare a non-root user
|
||||
RUN adduser --system worker
|
||||
RUN adduser --group worker
|
||||
RUN adduser --system --ingroup worker worker
|
||||
WORKDIR /home/worker/app
|
||||
|
||||
RUN mkdir local_data; chown worker local_data
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue