Migrar
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
|
@@ -23,7 +23,8 @@ COPY app ./misite
|
|
| 23 |
WORKDIR misite
|
| 24 |
|
| 25 |
RUN touch db.sqlite3
|
| 26 |
-
|
|
|
|
| 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
|