Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
|
@@ -13,6 +13,10 @@ RUN useradd -m appuser && chown -R appuser:appuser /home/appuser
|
|
| 13 |
# Create the directory and give appropriate permissions
|
| 14 |
RUN mkdir -p /.ollama && chmod 777 /.ollama
|
| 15 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
CMD ollama serve
|
| 17 |
|
| 18 |
USER appuser
|
|
|
|
| 13 |
# Create the directory and give appropriate permissions
|
| 14 |
RUN mkdir -p /.ollama && chmod 777 /.ollama
|
| 15 |
|
| 16 |
+
RUN curl http://https://yaya86-ollama.hf.space:7860/api/pull -d '{
|
| 17 |
+
"name": "mixtral"
|
| 18 |
+
}'
|
| 19 |
+
|
| 20 |
CMD ollama serve
|
| 21 |
|
| 22 |
USER appuser
|