ladogton2010 commited on
Commit
044e510
·
1 Parent(s): b1d556b
Files changed (1) hide show
  1. Dockerfile +6 -4
Dockerfile CHANGED
@@ -14,7 +14,9 @@ RUN ls -la
14
  RUN chmod 777 db.sqlite3
15
  RUN chmod 777 ./polls/migrations
16
 
17
- CMD python3 manage.py makemigrations; \
18
- python3 manage.py migrate; \
19
- python3 manage.py createsuperuser --noinput; \
20
- python3 manage.py runserver 0:7860
 
 
 
14
  RUN chmod 777 db.sqlite3
15
  RUN chmod 777 ./polls/migrations
16
 
17
+ CMD /bin/bash -c " \
18
+ python3 manage.py makemigrations; \
19
+ python3 manage.py migrate; \
20
+ python3 manage.py createsuperuser --noinput; \
21
+ python3 manage.py runserver 0:7860
22
+ "