Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
|
@@ -5,6 +5,9 @@ RUN apt update && apt install curl -y
|
|
| 5 |
|
| 6 |
RUN curl https://ollama.ai/install.sh | sh
|
| 7 |
|
|
|
|
|
|
|
|
|
|
| 8 |
# Command to run the application
|
| 9 |
CMD ollama serve & sleep 10s && ollama pull zephyr
|
| 10 |
|
|
|
|
| 5 |
|
| 6 |
RUN curl https://ollama.ai/install.sh | sh
|
| 7 |
|
| 8 |
+
# Create the directory and give appropriate permissions
|
| 9 |
+
RUN mkdir -p /.ollama && chmod 777 /.ollama
|
| 10 |
+
|
| 11 |
# Command to run the application
|
| 12 |
CMD ollama serve & sleep 10s && ollama pull zephyr
|
| 13 |
|