Spaces:
Running
Running
Commit
·
bffaf29
1
Parent(s):
75b79a7
dockerfile
Browse files- Dockerfile +4 -3
Dockerfile
CHANGED
|
@@ -6,9 +6,10 @@ RUN pip3 install -r requirements.txt --no-cache-dir
|
|
| 6 |
COPY . /app
|
| 7 |
|
| 8 |
RUN ls -lh
|
| 9 |
-
# RUN chown -R user:user /app
|
| 10 |
RUN chmod 777 /app/db.sqlite3
|
|
|
|
|
|
|
| 11 |
RUN ls -lh
|
| 12 |
|
| 13 |
-
|
| 14 |
-
CMD
|
|
|
|
| 6 |
COPY . /app
|
| 7 |
|
| 8 |
RUN ls -lh
|
|
|
|
| 9 |
RUN chmod 777 /app/db.sqlite3
|
| 10 |
+
RUN chown -R root /app
|
| 11 |
+
RUN chown root /app/db.sqlite3
|
| 12 |
RUN ls -lh
|
| 13 |
|
| 14 |
+
|
| 15 |
+
CMD python3 manage.py runserver 0.0.0.0:8000
|