Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +2 -0
Dockerfile
CHANGED
@@ -18,6 +18,8 @@ USER root
|
|
18 |
# Install Python dependencies
|
19 |
RUN pip install --no-cache-dir -r requirements.txt
|
20 |
|
|
|
|
|
21 |
# Set ownership of the application directory
|
22 |
RUN chown -R appuser:appgroup /app
|
23 |
|
|
|
18 |
# Install Python dependencies
|
19 |
RUN pip install --no-cache-dir -r requirements.txt
|
20 |
|
21 |
+
RUN python -c "from transformers import pipeline; pipeline('text-generation', model='mistralai/Mistral-7B-v0.1', tokenizer='mistralai/Mistral-7B-v0.1')"
|
22 |
+
|
23 |
# Set ownership of the application directory
|
24 |
RUN chown -R appuser:appgroup /app
|
25 |
|