Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -10,11 +10,11 @@ RUN apt install -y python3 python3-pip python3-django
|
|
| 10 |
# Pasos del tutorial de DJango
|
| 11 |
RUN mkdir itsz
|
| 12 |
WORKDIR itsz
|
| 13 |
-
RUN
|
| 14 |
RUN ls
|
| 15 |
|
| 16 |
WORKDIR miSitio
|
| 17 |
-
CMD
|
| 18 |
|
| 19 |
# Verificar si python esta instalado
|
| 20 |
# RUN which python || which python3 || which py
|
|
|
|
| 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 python3 manage.py runserver 0=7860
|
| 18 |
|
| 19 |
# Verificar si python esta instalado
|
| 20 |
# RUN which python || which python3 || which py
|