Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -15,10 +15,10 @@ COPY ./requirements.txt /code/requirements.txt
|
|
15 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
16 |
|
17 |
# create new user named user with a user ID of 1000
|
18 |
-
RUN useradd -m -u 1000 user
|
19 |
# switch to that user
|
20 |
-
USER user
|
21 |
# ENV command sets the HOME and PATH environment variables
|
|
|
|
|
22 |
ENV HOME=/home/user \\
|
23 |
PATH=/home/user/.local/bin:$PATH
|
24 |
|
|
|
15 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
16 |
|
17 |
# create new user named user with a user ID of 1000
|
|
|
18 |
# switch to that user
|
|
|
19 |
# ENV command sets the HOME and PATH environment variables
|
20 |
+
RUN useradd -m -u 1000 user
|
21 |
+
USER user
|
22 |
ENV HOME=/home/user \\
|
23 |
PATH=/home/user/.local/bin:$PATH
|
24 |
|