Update Dockerfile
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
@@ -17,7 +17,10 @@ ENV HOME=/home/user \
|
|
17 |
WORKDIR $HOME/app
|
18 |
|
19 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
20 |
-
COPY --chown=user . $HOME/app
|
|
|
|
|
|
|
21 |
|
22 |
# Try and run pip command after setting the user with `USER user` to avoid permission issues with Python
|
23 |
RUN pip install --no-cache-dir --upgrade pip
|
|
|
17 |
WORKDIR $HOME/app
|
18 |
|
19 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
20 |
+
#COPY --chown=user . $HOME/app
|
21 |
+
|
22 |
+
# Copy the configuration file into the container at /app
|
23 |
+
COPY --chown=user config.yaml .
|
24 |
|
25 |
# Try and run pip command after setting the user with `USER user` to avoid permission issues with Python
|
26 |
RUN pip install --no-cache-dir --upgrade pip
|