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:
dividebysandwich 2024-04-19 15:40:00 +02:00 committed by GitHub
parent 49ef729abc
commit 947e737f30
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 48 additions and 48 deletions

View file

@ -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