Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed "no such group" error in Dockerfile, added docx2txt and cryptography deps #1841

Merged
merged 2 commits into from
Apr 19, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Fixed "no such group" error in Dockerfile, added docx2txt to poetry s…
…o docx parsing works out of the box for docker containers
dividebysandwich committed Apr 10, 2024

Verified

This commit was signed with the committer’s verified signature.
jpkrohling Juraci Paixão Kröhling
commit 11e6f1517547f23efc876f97b25170f71deaf863
3 changes: 2 additions & 1 deletion Dockerfile.local
Original file line number Diff line number Diff line change
@@ -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
16 changes: 14 additions & 2 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -13,6 +13,7 @@ injector = "^0.21.0"
pyyaml = "^6.0.1"
watchdog = "^4.0.0"
transformers = "^4.38.2"
docx2txt = "^0.8"
# LlamaIndex core libs
llama-index-core = "^0.10.14"
llama-index-readers-file = "^0.1.6"