Skip to content
This repository has been archived by the owner on Jun 25, 2024. It is now read-only.

Commit

Permalink
fix: rootless
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Bouquillon committed Dec 13, 2023
1 parent c334745 commit ce681ba
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,11 @@ RUN mkdir -p /models/sentqam/3
RUN addgroup --system --gid 1000 docker && adduser --system --uid 1000 docker
RUN chown -R 1000:1000 /models/sentqam/3

USER docker

WORKDIR /models/sentqam/3

RUN curl -L https://tfhub.dev/google/universal-sentence-encoder-multilingual-qa/3?tf-hub-format=compressed --output sentqam.tar.gz
RUN tar -zxf sentqam.tar.gz --directory ./

USER 1234

0 comments on commit ce681ba

Please sign in to comment.