Spaces:
Sleeping
Sleeping
Config Dockerfile reivsar versiones de python y pip
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
|
@@ -7,12 +7,12 @@ RUN apt install -y python3 python3-pip python3-mysqldb
|
|
| 7 |
WORKDIR /app
|
| 8 |
|
| 9 |
COPY . .
|
| 10 |
-
|
|
|
|
|
|
|
| 11 |
|
| 12 |
-
RUN chmod 777 ./requirements.txt
|
| 13 |
RUN python3 -m pip install -r requirements.txt
|
| 14 |
|
| 15 |
-
RUN chmod 777 ./tecnicas/migrations
|
| 16 |
RUN python3 manage.py migrate
|
| 17 |
|
| 18 |
RUN chmod 777 ./create_superuser.py
|
|
|
|
| 7 |
WORKDIR /app
|
| 8 |
|
| 9 |
COPY . .
|
| 10 |
+
RUN ls
|
| 11 |
+
RUN pip --version
|
| 12 |
+
RUN python3 --version
|
| 13 |
|
|
|
|
| 14 |
RUN python3 -m pip install -r requirements.txt
|
| 15 |
|
|
|
|
| 16 |
RUN python3 manage.py migrate
|
| 17 |
|
| 18 |
RUN chmod 777 ./create_superuser.py
|