Update Dockerfile
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
@@ -2,5 +2,9 @@ FROM ollama/ollama
|
|
2 |
|
3 |
ENV OLLAMA_HOST=0.0.0.0
|
4 |
|
|
|
|
|
|
|
|
|
5 |
# Expose the server port
|
6 |
EXPOSE 7860
|
|
|
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 |
# Expose the server port
|
10 |
EXPOSE 7860
|