Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +0 -4
Dockerfile
CHANGED
|
@@ -6,10 +6,6 @@ WORKDIR /app
|
|
| 6 |
# Install Hugging Face CLI
|
| 7 |
RUN pip install huggingface_hub
|
| 8 |
|
| 9 |
-
# Use environment variable for Hugging Face login
|
| 10 |
-
ENV HF_TOKEN=${HF_TOKEN}
|
| 11 |
-
RUN huggingface-cli login --token "$HF_TOKEN"
|
| 12 |
-
|
| 13 |
# Ensure the directory exists before copying files
|
| 14 |
RUN mkdir -p /app
|
| 15 |
|
|
|
|
| 6 |
# Install Hugging Face CLI
|
| 7 |
RUN pip install huggingface_hub
|
| 8 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
# Ensure the directory exists before copying files
|
| 10 |
RUN mkdir -p /app
|
| 11 |
|