Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -19,8 +19,8 @@ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
|
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 |
-
|
24 |
|
25 |
# sets the working directory inside the container to $HOME/user/app
|
26 |
WORKDIR $HOME/app
|
|
|
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 |
+
ENV PATH=/home/user/.local/bin:$PATH
|
24 |
|
25 |
# sets the working directory inside the container to $HOME/user/app
|
26 |
WORKDIR $HOME/app
|