Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -30,7 +30,7 @@ RUN useradd -u 1001 user
|
|
| 30 |
|
| 31 |
RUN chown -R user:user .
|
| 32 |
|
| 33 |
-
|
| 34 |
#RUN addgroup -g 1001 -S 1000
|
| 35 |
#RUN adduser -u 1001 -S 1000 -G 1000
|
| 36 |
# Set environment variable for the host
|
|
@@ -56,7 +56,7 @@ ENV HOME=/home/user \
|
|
| 56 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
| 57 |
COPY --chown=user . $HOME/app
|
| 58 |
|
| 59 |
-
COPY --chown=user . $HOME/.cache/huggingface
|
| 60 |
|
| 61 |
RUN python -m pip install --upgrade pip
|
| 62 |
# Install requirements.txt
|
|
|
|
| 30 |
|
| 31 |
RUN chown -R user:user .
|
| 32 |
|
| 33 |
+
RUN useradd -ms /bin/bash user
|
| 34 |
#RUN addgroup -g 1001 -S 1000
|
| 35 |
#RUN adduser -u 1001 -S 1000 -G 1000
|
| 36 |
# Set environment variable for the host
|
|
|
|
| 56 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
| 57 |
COPY --chown=user . $HOME/app
|
| 58 |
|
| 59 |
+
COPY --chown=user . $HOME/.cache/huggingface/hub
|
| 60 |
|
| 61 |
RUN python -m pip install --upgrade pip
|
| 62 |
# Install requirements.txt
|