TillCyrill
commited on
Commit
•
8d4e327
1
Parent(s):
0da959e
dockerfile user
Browse files- Dockerfile +6 -6
Dockerfile
CHANGED
@@ -42,12 +42,12 @@ ENV PATH="$AMBERHOME/bin:$PATH"
|
|
42 |
ENV PYTHONPATH="$AMBERHOME/lib/python3.10/site-packages"
|
43 |
|
44 |
|
45 |
-
RUN useradd -m -u 1000 user
|
46 |
-
USER user
|
47 |
-
ENV HOME=/home/user \
|
48 |
-
PATH=/home/user/.local/bin:$PATH
|
49 |
-
WORKDIR $HOME/app
|
50 |
-
COPY --chown=user . $HOME/app
|
51 |
|
52 |
|
53 |
RUN adduser -u 5678 --disabled-password --gecos "" appuser && chown -R appuser .
|
|
|
42 |
ENV PYTHONPATH="$AMBERHOME/lib/python3.10/site-packages"
|
43 |
|
44 |
|
45 |
+
#RUN useradd -m -u 1000 user
|
46 |
+
#USER user
|
47 |
+
#ENV HOME=/home/user \
|
48 |
+
# PATH=/home/user/.local/bin:$PATH
|
49 |
+
#WORKDIR $HOME/app
|
50 |
+
#COPY --chown=user . $HOME/app
|
51 |
|
52 |
|
53 |
RUN adduser -u 5678 --disabled-password --gecos "" appuser && chown -R appuser .
|