Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
|
@@ -11,9 +11,6 @@ RUN useradd -m -u 1000 user
|
|
| 11 |
# Switch to the "user" user
|
| 12 |
USER user
|
| 13 |
|
| 14 |
-
# download falcon-40b
|
| 15 |
-
RUN transformers-cli download "tiiuae/falcon-40b"
|
| 16 |
-
|
| 17 |
# Set home to the user's home directory
|
| 18 |
ENV HOME=/home/user \
|
| 19 |
PATH=/home/user/.local/bin:$PATH \
|
|
@@ -24,6 +21,9 @@ ENV HOME=/home/user \
|
|
| 24 |
GRADIO_SERVER_NAME=0.0.0.0 \
|
| 25 |
GRADIO_THEME=huggingface \
|
| 26 |
SYSTEM=spaces
|
|
|
|
|
|
|
|
|
|
| 27 |
|
| 28 |
# Set the working directory to the user's home directory
|
| 29 |
WORKDIR $HOME/app
|
|
|
|
| 11 |
# Switch to the "user" user
|
| 12 |
USER user
|
| 13 |
|
|
|
|
|
|
|
|
|
|
| 14 |
# Set home to the user's home directory
|
| 15 |
ENV HOME=/home/user \
|
| 16 |
PATH=/home/user/.local/bin:$PATH \
|
|
|
|
| 21 |
GRADIO_SERVER_NAME=0.0.0.0 \
|
| 22 |
GRADIO_THEME=huggingface \
|
| 23 |
SYSTEM=spaces
|
| 24 |
+
|
| 25 |
+
# download falcon-40b
|
| 26 |
+
RUN transformers-cli download "tiiuae/falcon-40b"
|
| 27 |
|
| 28 |
# Set the working directory to the user's home directory
|
| 29 |
WORKDIR $HOME/app
|