chartManD commited on
Commit
dc5cfbe
·
verified ·
1 Parent(s): 33d17c7

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -2
Dockerfile CHANGED
@@ -11,8 +11,10 @@ RUN apt install -y python3 python3-pip python3-django
11
  RUN mkdir djangotutorial
12
  RUN django-admin startproject miSitio djangotutorial
13
 
14
- WORKDIR djangotutorial
15
- RUN ls -l
 
 
16
 
17
  # Verificar si python esta instalado
18
  # RUN which python || which python3 || which py
 
11
  RUN mkdir djangotutorial
12
  RUN django-admin startproject miSitio djangotutorial
13
 
14
+ WORKDIR djangotutorial/miSitio
15
+ RUN ls
16
+
17
+ CMD python manage.py runserver 7860
18
 
19
  # Verificar si python esta instalado
20
  # RUN which python || which python3 || which py