Make migrations
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -23,12 +23,12 @@ COPY app ./misite
|
|
| 23 |
WORKDIR misite
|
| 24 |
|
| 25 |
|
| 26 |
-
|
| 27 |
|
| 28 |
RUN touch db.sqlite3
|
| 29 |
RUN chmod 777 db.sqlite3
|
| 30 |
|
| 31 |
-
RUN python3 manage.py makemigrations
|
| 32 |
RUN python3 manage.py migrate
|
| 33 |
|
| 34 |
CMD python3 manage.py runserver 0:7860
|
|
|
|
| 23 |
WORKDIR misite
|
| 24 |
|
| 25 |
|
| 26 |
+
RUN python3 manage.py migrate
|
| 27 |
|
| 28 |
RUN touch db.sqlite3
|
| 29 |
RUN chmod 777 db.sqlite3
|
| 30 |
|
| 31 |
+
RUN python3 manage.py makemigrations polls
|
| 32 |
RUN python3 manage.py migrate
|
| 33 |
|
| 34 |
CMD python3 manage.py runserver 0:7860
|