Update migrations dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -24,7 +24,7 @@ WORKDIR misite
|
|
| 24 |
|
| 25 |
RUN touch db.sqlite3
|
| 26 |
|
| 27 |
-
CMD
|
| 28 |
|
| 29 |
# Verificar si python esta instalado
|
| 30 |
# RUN which python || which python3 || which py
|
|
|
|
| 24 |
|
| 25 |
RUN touch db.sqlite3
|
| 26 |
|
| 27 |
+
CMD python3 manage.py migrate; python3 manage.py runserver 0:7860
|
| 28 |
|
| 29 |
# Verificar si python esta instalado
|
| 30 |
# RUN which python || which python3 || which py
|