ladogton2010 commited on
Commit
652245c
·
1 Parent(s): c2c7859

Dockerfile Updated

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -6
Dockerfile CHANGED
@@ -14,9 +14,7 @@ RUN ls -la
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
- "
 
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