chartManD commited on
Commit
780209e
·
1 Parent(s): 8c50bbb
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -23,7 +23,8 @@ COPY app ./misite
23
  WORKDIR misite
24
 
25
  RUN touch db.sqlite3
26
- CMD python3 manage.py runserver 0:7860
 
27
 
28
  # Verificar si python esta instalado
29
  # RUN which python || which python3 || which py
 
23
  WORKDIR misite
24
 
25
  RUN touch db.sqlite3
26
+
27
+ CMD python manage.py migrate; python3 manage.py runserver 0:7860
28
 
29
  # Verificar si python esta instalado
30
  # RUN which python || which python3 || which py