chartManD commited on
Commit
26723d2
·
verified ·
1 Parent(s): 1262d33

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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 djangotutorial
12
- WORKDIR djangotutorial
13
- RUN django-admin startproject miSitio
14
  RUN ls
15
 
16
  WORKDIR miSitio
17
- CMD python manage.py runserver 7860
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