Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -24,10 +24,10 @@ ENV HOME=/home/user \
|
|
24 |
|
25 |
# Set the working directory to the user's home directory
|
26 |
WORKDIR $HOME/app
|
27 |
-
|
28 |
-
CMD ["transformers-cli", "download", "tiiuae/falcon-7b", "--trust-remote-code"]
|
29 |
-
|
30 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
31 |
COPY --chown=user . $HOME/app
|
32 |
|
|
|
|
|
|
|
33 |
CMD ["python", "app.py"]
|
|
|
24 |
|
25 |
# Set the working directory to the user's home directory
|
26 |
WORKDIR $HOME/app
|
|
|
|
|
|
|
27 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
28 |
COPY --chown=user . $HOME/app
|
29 |
|
30 |
+
# CMD ["transformers-cli", "download", "tiiuae/falcon-7b", "--trust-remote-code"]
|
31 |
+
RUN python -c 'from huggingface_hub import snapshot_download; snapshot_download("tiiuae/falcon-40b")'
|
32 |
+
|
33 |
CMD ["python", "app.py"]
|