chartManD commited on
Commit
63853c9
·
1 Parent(s): 1dbfc44

Make migrations

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -23,12 +23,12 @@ COPY app ./misite
23
  WORKDIR misite
24
 
25
 
26
- #RUN python manage.py makemigrations polls
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