Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -20,7 +20,7 @@ RUN useradd -m -u 1000 user
|
|
20 |
WORKDIR /home/user/app
|
21 |
|
22 |
# Download the GGUF model file directly from Hugging Face Hub.
|
23 |
-
RUN wget
|
24 |
|
25 |
# Copy the application files and set the correct ownership to the new user. [1]
|
26 |
COPY --chown=user:user Modelfile .
|
|
|
20 |
WORKDIR /home/user/app
|
21 |
|
22 |
# Download the GGUF model file directly from Hugging Face Hub.
|
23 |
+
RUN wget https://huggingface.co/${MODEL_REPO}/resolve/main/${MODEL_FILENAME} -O ${MODEL_FILENAME}
|
24 |
|
25 |
# Copy the application files and set the correct ownership to the new user. [1]
|
26 |
COPY --chown=user:user Modelfile .
|