Anuj-Panthri commited on
Commit
8767592
·
1 Parent(s): 27c4951

dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -3
Dockerfile CHANGED
@@ -6,9 +6,8 @@ RUN pip3 install -r requirements.txt --no-cache-dir
6
  COPY . /app
7
 
8
  RUN ls -lh
9
- RUN whoami
10
- USER root
11
- RUN whoami
12
 
13
  ENTRYPOINT ["python3"]
14
  CMD ["manage.py", "runserver", "0.0.0.0:8000"]
 
6
  COPY . /app
7
 
8
  RUN ls -lh
9
+ RUN chown -R root:root /app
10
+ RUN ls -lh
 
11
 
12
  ENTRYPOINT ["python3"]
13
  CMD ["manage.py", "runserver", "0.0.0.0:8000"]