Commit ·
7b16201
1
Parent(s): 3e19948
Re-order to silence warning
Browse files- Dockerfile +4 -4
Dockerfile
CHANGED
|
@@ -12,14 +12,14 @@ RUN apt-get -y update && apt-get -y install python3-pip python-is-python3
|
|
| 12 |
# Switch to the "user" user
|
| 13 |
USER ubuntu
|
| 14 |
|
| 15 |
-
RUN pip install --break-system-packages --no-cache-dir --upgrade setuptools pip
|
| 16 |
-
|
| 17 |
-
RUN pip install --break-system-packages --no-cache-dir --upgrade -r /code/requirements.txt
|
| 18 |
-
|
| 19 |
# Set home to the user's home directory
|
| 20 |
ENV HOME=/home/ubuntu \
|
| 21 |
PATH=/home/ubuntu/.local/bin:$PATH
|
| 22 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 23 |
# Set the working directory to the user's home directory
|
| 24 |
WORKDIR $HOME/app
|
| 25 |
|
|
|
|
| 12 |
# Switch to the "user" user
|
| 13 |
USER ubuntu
|
| 14 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
# Set home to the user's home directory
|
| 16 |
ENV HOME=/home/ubuntu \
|
| 17 |
PATH=/home/ubuntu/.local/bin:$PATH
|
| 18 |
|
| 19 |
+
RUN pip install --break-system-packages --no-cache-dir --upgrade setuptools pip
|
| 20 |
+
|
| 21 |
+
RUN pip install --break-system-packages --no-cache-dir --upgrade -r /code/requirements.txt
|
| 22 |
+
|
| 23 |
# Set the working directory to the user's home directory
|
| 24 |
WORKDIR $HOME/app
|
| 25 |
|