Thiago Hersan
commited on
Commit
•
7a544e3
1
Parent(s):
70d8ed7
jesus. set data dir to user home
Browse files- Dockerfile +1 -4
Dockerfile
CHANGED
@@ -19,14 +19,11 @@ ENV HOME=/home/user \
|
|
19 |
GRADIO_SERVER_NAME=0.0.0.0 \
|
20 |
GRADIO_THEME=huggingface \
|
21 |
SYSTEM=spaces \
|
22 |
-
HF_HOME=/data/.huggingface
|
23 |
|
24 |
|
25 |
WORKDIR $HOME/app
|
26 |
|
27 |
-
RUN mkdir -p /data
|
28 |
-
RUN chmod a+rwx -R /data
|
29 |
-
|
30 |
COPY --chown=user ./examples ./app.py $HOME/app
|
31 |
|
32 |
CMD ["python", "app.py"]
|
|
|
19 |
GRADIO_SERVER_NAME=0.0.0.0 \
|
20 |
GRADIO_THEME=huggingface \
|
21 |
SYSTEM=spaces \
|
22 |
+
HF_HOME=/home/user/data/.huggingface
|
23 |
|
24 |
|
25 |
WORKDIR $HOME/app
|
26 |
|
|
|
|
|
|
|
27 |
COPY --chown=user ./examples ./app.py $HOME/app
|
28 |
|
29 |
CMD ["python", "app.py"]
|