Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
FROM ubuntu:
|
2 |
|
3 |
#22.04
|
4 |
|
@@ -17,13 +17,13 @@ ENV OLLAMA_HOST=0.0.0.0
|
|
17 |
|
18 |
#RUN cut -d: -f1,3 /etc/passwd
|
19 |
|
20 |
-
|
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 |
|
|
|
1 |
+
FROM ubuntu:latest
|
2 |
|
3 |
#22.04
|
4 |
|
|
|
17 |
|
18 |
#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 |
|