Skip to content

Commit

Permalink
Create /.cache/huggingface/ with full access rights in Dockerimage
Browse files Browse the repository at this point in the history
  • Loading branch information
juhoinkinen committed Mar 7, 2024
1 parent 6ba1e08 commit 4d06be6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ RUN groupadd -g 998 annif_user && \
useradd -r -u 998 -g annif_user annif_user && \
chmod -R a+rX /Annif && \
mkdir -p /Annif/tests/data && \
mkdir -p /.cache/huggingface && \
chmod -R a+rwX /.cache/huggingface && \
chown -R annif_user:annif_user /annif-projects /Annif/tests/data
USER annif_user

Expand Down

0 comments on commit 4d06be6

Please sign in to comment.