Spaces:
Sleeping
Sleeping
Config Dockerfile actualiar pip, copiar primero requirements.txt
Browse files- Dockerfile +4 -2
Dockerfile
CHANGED
|
@@ -4,11 +4,13 @@ WORKDIR /app
|
|
| 4 |
|
| 5 |
RUN ls
|
| 6 |
|
| 7 |
-
COPY . .
|
| 8 |
|
| 9 |
RUN ls
|
| 10 |
|
| 11 |
-
RUN python -m pip install
|
|
|
|
|
|
|
| 12 |
|
| 13 |
RUN python manege.py migrate
|
| 14 |
|
|
|
|
| 4 |
|
| 5 |
RUN ls
|
| 6 |
|
| 7 |
+
COPY requirements.txt .
|
| 8 |
|
| 9 |
RUN ls
|
| 10 |
|
| 11 |
+
RUN python -m pip install requirements.txt
|
| 12 |
+
|
| 13 |
+
COPY . .
|
| 14 |
|
| 15 |
RUN python manege.py migrate
|
| 16 |
|