chartManD commited on
Commit
294122c
·
1 Parent(s): 8c9be7d

make migrations

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -25,7 +25,9 @@ WORKDIR misite
25
  RUN touch db.sqlite3
26
  RUN chmod 777 db.sqlite3
27
 
28
- CMD python manage.py makemigrations polls; \
 
 
29
  python3 manage.py migrate; \
30
  python3 manage.py runserver 0:7860; \
31
 
 
25
  RUN touch db.sqlite3
26
  RUN chmod 777 db.sqlite3
27
 
28
+ RUN chmod 777 ./polls/migrations
29
+
30
+ CMD python manage.py makemigrations; \
31
  python3 manage.py migrate; \
32
  python3 manage.py runserver 0:7860; \
33