karen commited on
Commit ·
447a38f
1
Parent(s): 33d02b7
se modifico
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
|
@@ -17,5 +17,7 @@ WORKDIR mysite
|
|
| 17 |
|
| 18 |
RUN touch db.sqlite3;
|
| 19 |
RUN chmod 777 db.sqlite3
|
| 20 |
-
CMD python3 manage.py
|
|
|
|
|
|
|
| 21 |
|
|
|
|
| 17 |
|
| 18 |
RUN touch db.sqlite3;
|
| 19 |
RUN chmod 777 db.sqlite3
|
| 20 |
+
CMD python3 manage.py makemigrations;\
|
| 21 |
+
python3 manage.py migrate; \
|
| 22 |
+
python3 manage.py runserver 0:7860
|
| 23 |
|