Spaces:
Sleeping
Sleeping
Commit
·
574cb84
1
Parent(s):
87fcd50
update migrations
Browse files- Dockerfile +3 -22
Dockerfile
CHANGED
@@ -13,25 +13,6 @@ RUN touch db.sqlite3
|
|
13 |
RUN ls -la
|
14 |
RUN chmod 777 db.sqlite3
|
15 |
RUN ls -la
|
16 |
-
CMD
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
|
|
13 |
RUN ls -la
|
14 |
RUN chmod 777 db.sqlite3
|
15 |
RUN ls -la
|
16 |
+
CMD python3 manage.py makemigrations; \
|
17 |
+
python3 manage.py migrate; \
|
18 |
+
python3 manage.py runserver 0:7860
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|