Update Dockerfile
Browse files- Dockerfile +4 -4
Dockerfile
CHANGED
|
@@ -8,13 +8,13 @@ RUN apt install -y python3 python3-pip python3-django
|
|
| 8 |
#RUN python3 -m django --version [3.2.19]
|
| 9 |
|
| 10 |
# Pasos del tutorial de DJango
|
| 11 |
-
RUN mkdir
|
| 12 |
-
WORKDIR
|
| 13 |
-
RUN django-admin startproject miSitio
|
| 14 |
RUN ls
|
| 15 |
|
| 16 |
WORKDIR miSitio
|
| 17 |
-
CMD python manage.py runserver
|
| 18 |
|
| 19 |
# Verificar si python esta instalado
|
| 20 |
# RUN which python || which python3 || which py
|
|
|
|
| 8 |
#RUN python3 -m django --version [3.2.19]
|
| 9 |
|
| 10 |
# Pasos del tutorial de DJango
|
| 11 |
+
RUN mkdir itsz
|
| 12 |
+
WORKDIR itsz
|
| 13 |
+
RUN $ django-admin startproject miSitio
|
| 14 |
RUN ls
|
| 15 |
|
| 16 |
WORKDIR miSitio
|
| 17 |
+
CMD python manage.py runserver
|
| 18 |
|
| 19 |
# Verificar si python esta instalado
|
| 20 |
# RUN which python || which python3 || which py
|