Lolomat2000 commited on
Commit
678a49d
·
1 Parent(s): e8c01ae

chown, allowed hosts

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -17,11 +17,11 @@ ENV HOME=/home/user \
17
  # Set the working directory to the user's home directory
18
  WORKDIR $HOME/app
19
 
20
- COPY ./requirements-dev.txt $HOME/app/requirements-dev.txt
21
 
22
  RUN pip install -r requirements-dev.txt
23
 
24
- COPY . $HOME/app
25
 
26
  EXPOSE 7860
27
  CMD ["python", "manage.py", "runserver", "0.0.0.0:7860"]
 
17
  # Set the working directory to the user's home directory
18
  WORKDIR $HOME/app
19
 
20
+ COPY --chown=user ./requirements-dev.txt $HOME/app/requirements-dev.txt
21
 
22
  RUN pip install -r requirements-dev.txt
23
 
24
+ COPY --chown=user . $HOME/app
25
 
26
  EXPOSE 7860
27
  CMD ["python", "manage.py", "runserver", "0.0.0.0:7860"]