Update Dockerfile
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
|
@@ -19,10 +19,13 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|
| 19 |
ARG MODEL_REPO=cpatonn/Qwen3-4B-Instruct-2507-AWQ-4bit
|
| 20 |
ENV MODEL_DIR=/app/models/model
|
| 21 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
# Download model into the image
|
| 23 |
RUN hf download ${MODEL_REPO} \
|
| 24 |
--local-dir ${MODEL_DIR} \
|
| 25 |
-
--local-dir-use-symlinks False
|
| 26 |
|
| 27 |
# App code
|
| 28 |
COPY app.py .
|
|
|
|
| 19 |
ARG MODEL_REPO=cpatonn/Qwen3-4B-Instruct-2507-AWQ-4bit
|
| 20 |
ENV MODEL_DIR=/app/models/model
|
| 21 |
|
| 22 |
+
# Hugging Face Token
|
| 23 |
+
ARG HF_TOKEN
|
| 24 |
+
ENV HUGGINGFACE_HUB
|
| 25 |
+
|
| 26 |
# Download model into the image
|
| 27 |
RUN hf download ${MODEL_REPO} \
|
| 28 |
--local-dir ${MODEL_DIR} \
|
|
|
|
| 29 |
|
| 30 |
# App code
|
| 31 |
COPY app.py .
|