silencewing commited on
Commit
748ce07
1 Parent(s): a8c10f7

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -17,7 +17,7 @@ RUN apt-get update && apt-get install -y vim && apt-get install -y nginx
17
  EXPOSE 7860
18
 
19
 
20
- RUN chown -R 1000 /var/log/nginx/ /var/lib/nginx/ /run/
21
  USER user
22
  ENV HOME /home/user
23
 
@@ -33,7 +33,7 @@ WORKDIR $HOME
33
  #RUN mkdir /usr/share/nginx/html/app
34
  #RUN chown user /usr/share/nginx/html/app
35
  COPY --chown=user:user . /home/user/app
36
- RUN chown -R 1000 /home/user
37
 
38
  #COPY --chown=user:user ./app /home/user/app
39
  COPY ./default /etc/nginx/sites-available
 
17
  EXPOSE 7860
18
 
19
 
20
+ RUN chown -R 1000 /var/log/nginx/ /var/lib/nginx/ /run/ /home/user/
21
  USER user
22
  ENV HOME /home/user
23
 
 
33
  #RUN mkdir /usr/share/nginx/html/app
34
  #RUN chown user /usr/share/nginx/html/app
35
  COPY --chown=user:user . /home/user/app
36
+ #RUN chown -R 1000 /home/user
37
 
38
  #COPY --chown=user:user ./app /home/user/app
39
  COPY ./default /etc/nginx/sites-available