Update Dockerfile
Browse files- Dockerfile +5 -3
Dockerfile
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
FROM ubuntu:
|
|
|
|
|
2 |
|
3 |
#RUN apt-get update && apt-get install -y whoami
|
4 |
|
@@ -15,13 +17,13 @@ ENV OLLAMA_HOST=0.0.0.0
|
|
15 |
|
16 |
RUN cut -d: -f1,3 /etc/passwd
|
17 |
|
18 |
-
|
19 |
|
20 |
#RUN chown -R appuser:appuser /home/appuser
|
21 |
|
22 |
#USER appuser
|
23 |
|
24 |
-
RUN useradd -m -u 1000 appuser
|
25 |
#&& chown -R appuser:appuser /home/appuser
|
26 |
|
27 |
|
|
|
1 |
+
FROM ubuntu:latest
|
2 |
+
|
3 |
+
#22.04
|
4 |
|
5 |
#RUN apt-get update && apt-get install -y whoami
|
6 |
|
|
|
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 |
|