Spaces:
Paused
Paused
KunalThakare279
commited on
Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
@@ -16,7 +16,6 @@ ENV HF_HOME=/app/huggingface
|
|
16 |
|
17 |
USER root
|
18 |
# Install Python dependencies
|
19 |
-
RUN pip install --no-cache-dir -r requirements.txt
|
20 |
|
21 |
RUN pip install huggingface_hub
|
22 |
|
@@ -26,6 +25,8 @@ RUN huggingface-cli login --token $read
|
|
26 |
|
27 |
RUN python -c "from transformers import pipeline; pipeline('text-generation', model='mistralai/Mistral-7B-v0.1', tokenizer='mistralai/Mistral-7B-v0.1')"
|
28 |
|
|
|
|
|
29 |
# Set ownership of the application directory
|
30 |
RUN chown -R appuser:appgroup /app
|
31 |
|
|
|
16 |
|
17 |
USER root
|
18 |
# Install Python dependencies
|
|
|
19 |
|
20 |
RUN pip install huggingface_hub
|
21 |
|
|
|
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
|
31 |
RUN chown -R appuser:appgroup /app
|
32 |
|