Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -19,16 +19,16 @@ RUN cut -d: -f1,3 /etc/passwd
|
|
19 |
|
20 |
RUN userdel ubuntu && useradd -m -u 1000 appuser
|
21 |
|
22 |
-
RUN chown -R appuser:appuser /home/appuser
|
23 |
|
24 |
-
USER appuser
|
25 |
|
26 |
#RUN useradd -m -u 1000 appuser
|
27 |
#&& chown -R appuser:appuser /home/appuser
|
28 |
|
29 |
|
30 |
# Create the directory and give appropriate permissions
|
31 |
-
RUN mkdir -p /.ollama && chmod 777 /.ollama
|
32 |
#RUN mkdir -p /home/appuser/.ollama && chmod 777 /home/appuser/.ollama
|
33 |
#RUN mkdir -p /home/appuser/.ollama/models &&
|
34 |
|
|
|
19 |
|
20 |
RUN userdel ubuntu && useradd -m -u 1000 appuser
|
21 |
|
22 |
+
#RUN chown -R appuser:appuser /home/appuser
|
23 |
|
24 |
+
#USER appuser
|
25 |
|
26 |
#RUN useradd -m -u 1000 appuser
|
27 |
#&& chown -R appuser:appuser /home/appuser
|
28 |
|
29 |
|
30 |
# Create the directory and give appropriate permissions
|
31 |
+
#RUN mkdir -p /.ollama && chmod 777 /.ollama
|
32 |
#RUN mkdir -p /home/appuser/.ollama && chmod 777 /home/appuser/.ollama
|
33 |
#RUN mkdir -p /home/appuser/.ollama/models &&
|
34 |
|