chartManD commited on
Commit
2d7dc70
·
verified ·
1 Parent(s): 0748c09

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -0
Dockerfile CHANGED
@@ -14,8 +14,14 @@ RUN django-admin startproject miSitio
14
  RUN ls
15
 
16
  WORKDIR miSitio
 
 
17
  RUN touch db.sqlite3
18
  RUN sed -i 's/ALLOWED_HOSTS = \[\]/ALLOWED_HOSTS = \["*"\]/g' miSitio/settings.py
 
 
 
 
19
  CMD python3 manage.py runserver 0:7860
20
 
21
  # Verificar si python esta instalado
 
14
  RUN ls
15
 
16
  WORKDIR miSitio
17
+
18
+ # Algo para que funcionen
19
  RUN touch db.sqlite3
20
  RUN sed -i 's/ALLOWED_HOSTS = \[\]/ALLOWED_HOSTS = \["*"\]/g' miSitio/settings.py
21
+
22
+ # Crear app de Poll o encuestas
23
+ RUN python3 manage.py startapp polls
24
+
25
  CMD python3 manage.py runserver 0:7860
26
 
27
  # Verificar si python esta instalado