Update Dockerfile
Browse files- Dockerfile +0 -6
Dockerfile
CHANGED
@@ -2,11 +2,5 @@ FROM ollama/ollama
|
|
2 |
|
3 |
ENV OLLAMA_HOST=0.0.0.0
|
4 |
|
5 |
-
RUN useradd -m appuser && chown -R appuser:appuser /home/appuser
|
6 |
-
|
7 |
-
USER appuser
|
8 |
-
|
9 |
-
CMD ["ollama" "pull" "nomic-embed-text"]
|
10 |
-
|
11 |
# Expose the server port
|
12 |
EXPOSE 7860
|
|
|
2 |
|
3 |
ENV OLLAMA_HOST=0.0.0.0
|
4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
# Expose the server port
|
6 |
EXPOSE 7860
|