accplan commited on
Commit
15cb08d
1 Parent(s): bb3f7fe
Files changed (1) hide show
  1. Dockerfile +1 -2
Dockerfile CHANGED
@@ -68,12 +68,11 @@ COPY --from=dockergen /usr/local/bin/docker-gen /usr/local/bin/docker-gen
68
  COPY network_internal.conf /etc/nginx/
69
 
70
  RUN adduser -h /home/user -s /bin/sh -D user
71
- RUN echo -n 'user:test' | chpasswd
72
  USER user
73
  ENV HOME=/home/user \
74
  PATH=/home/user/.local/bin:$PATH
75
 
76
- COPY app nginx.tmpl $HOME/app/
77
  WORKDIR $HOME/app/
78
  RUN chmod 777 $HOME/app/docker-entrypoint.sh
79
 
 
68
  COPY network_internal.conf /etc/nginx/
69
 
70
  RUN adduser -h /home/user -s /bin/sh -D user
 
71
  USER user
72
  ENV HOME=/home/user \
73
  PATH=/home/user/.local/bin:$PATH
74
 
75
+ COPY --chown=user app nginx.tmpl $HOME/app/
76
  WORKDIR $HOME/app/
77
  RUN chmod 777 $HOME/app/docker-entrypoint.sh
78