Spaces:
Sleeping
Sleeping
update demo
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -44,9 +44,9 @@ RUN useradd -m -u 1000 user
|
|
44 |
USER user
|
45 |
# Set home to the user's home directory
|
46 |
ENV HOME=/home/user \
|
47 |
-
PATH=/home/user/.local/bin:$PATH
|
48 |
-
|
49 |
-
|
50 |
|
51 |
# Set the working directory to the user's home directory
|
52 |
WORKDIR $HOME/app
|
|
|
44 |
USER user
|
45 |
# Set home to the user's home directory
|
46 |
ENV HOME=/home/user \
|
47 |
+
PATH=/home/user/.local/bin:$PATH \
|
48 |
+
HF_HOME=/data/.huggingface \
|
49 |
+
TORCH_HOME=/data/.huggingface
|
50 |
|
51 |
# Set the working directory to the user's home directory
|
52 |
WORKDIR $HOME/app
|