Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
|
@@ -1,10 +1,10 @@
|
|
| 1 |
FROM python:latest
|
| 2 |
|
| 3 |
-
WORKDIR /
|
| 4 |
|
| 5 |
-
COPY ./requirements.txt
|
| 6 |
RUN python3 -m pip install --no-cache-dir --upgrade pip
|
| 7 |
-
RUN python3 -m pip install --no-cache-dir --upgrade -r /requirements.txt
|
| 8 |
|
| 9 |
COPY . .
|
| 10 |
|
|
|
|
| 1 |
FROM python:latest
|
| 2 |
|
| 3 |
+
WORKDIR /code
|
| 4 |
|
| 5 |
+
COPY ./requirements.txt /code/requirements.txt
|
| 6 |
RUN python3 -m pip install --no-cache-dir --upgrade pip
|
| 7 |
+
RUN python3 -m pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
| 8 |
|
| 9 |
COPY . .
|
| 10 |
|