Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -13,10 +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 |
-
|
| 17 |
USER appuser
|
| 18 |
# Command to run the application
|
| 19 |
-
|
| 20 |
|
| 21 |
|
| 22 |
# Expose the server port
|
|
|
|
| 13 |
# Create the directory and give appropriate permissions
|
| 14 |
RUN mkdir -p /.ollama && chmod 777 /.ollama
|
| 15 |
|
| 16 |
+
CMD ollama serve && ollama pull mixtral
|
| 17 |
USER appuser
|
| 18 |
# Command to run the application
|
| 19 |
+
|
| 20 |
|
| 21 |
|
| 22 |
# Expose the server port
|