Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -2,6 +2,8 @@ FROM python:3.9
|
|
2 |
|
3 |
WORKDIR /code
|
4 |
|
|
|
|
|
5 |
COPY ./requirements.txt /code/requirements.txt
|
6 |
|
7 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
@@ -17,8 +19,6 @@ WORKDIR $HOME/app
|
|
17 |
|
18 |
COPY --chown=user . $HOME/app
|
19 |
|
20 |
-
RUN chmod 777
|
21 |
-
|
22 |
-
RUN chmod 777 $HOME/code
|
23 |
|
24 |
CMD ["python", "-m", "main"]
|
|
|
2 |
|
3 |
WORKDIR /code
|
4 |
|
5 |
+
RUN chmod 777 .
|
6 |
+
|
7 |
COPY ./requirements.txt /code/requirements.txt
|
8 |
|
9 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
|
|
19 |
|
20 |
COPY --chown=user . $HOME/app
|
21 |
|
22 |
+
RUN chmod 777 .
|
|
|
|
|
23 |
|
24 |
CMD ["python", "-m", "main"]
|