Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +0 -9
Dockerfile
CHANGED
|
@@ -16,15 +16,6 @@ ENV HF_HOME=/app/huggingface
|
|
| 16 |
|
| 17 |
USER root
|
| 18 |
# Install Python dependencies
|
| 19 |
-
|
| 20 |
-
RUN pip install huggingface_hub
|
| 21 |
-
|
| 22 |
-
ARG read
|
| 23 |
-
|
| 24 |
-
RUN huggingface-cli login --token $read
|
| 25 |
-
|
| 26 |
-
RUN python -c "from transformers import pipeline; pipeline('text-generation', model='mistralai/Mistral-7B-v0.1', tokenizer='mistralai/Mistral-7B-v0.1')"
|
| 27 |
-
|
| 28 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 29 |
|
| 30 |
# Set ownership of the application directory
|
|
|
|
| 16 |
|
| 17 |
USER root
|
| 18 |
# Install Python dependencies
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 20 |
|
| 21 |
# Set ownership of the application directory
|