Spaces:
Sleeping
Sleeping
Commit
·
4bcaa28
1
Parent(s):
572d66b
migrations chmod
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -12,8 +12,8 @@ WORKDIR mysite
|
|
12 |
RUN touch db.sqlite3
|
13 |
RUN ls -la
|
14 |
RUN chmod 777 db.sqlite3
|
15 |
-
RUN chmod 777 ./polls
|
16 |
-
RUN ls -la ./
|
17 |
CMD python3 manage.py makemigrations; \
|
18 |
python3 manage.py migrate; \
|
19 |
python3 manage.py runserver 0:7860
|
|
|
12 |
RUN touch db.sqlite3
|
13 |
RUN ls -la
|
14 |
RUN chmod 777 db.sqlite3
|
15 |
+
RUN chmod 777 ./polls/migrations
|
16 |
+
RUN ls -la ./polls
|
17 |
CMD python3 manage.py makemigrations; \
|
18 |
python3 manage.py migrate; \
|
19 |
python3 manage.py runserver 0:7860
|