Nicky Nicolson commited on
Commit
7b0ed6c
·
1 Parent(s): 404c8c2

specify user

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -0
Dockerfile CHANGED
@@ -32,7 +32,9 @@ COPY ./nginx/etc.nginx_nginx.conf /etc/nginx/nginx.conf
32
  COPY --from=builder /usr/src/app/_site /usr/share/nginx/html
33
 
34
  COPY --chown=user ./_env_config/stg_dev/utl_dkr_preRun.sh ./scripts/docker/
 
35
 
 
36
  EXPOSE 7860
37
  ENTRYPOINT [ "./scripts/docker/utl_dkr_preRun.sh" ]
38
 
 
32
  COPY --from=builder /usr/src/app/_site /usr/share/nginx/html
33
 
34
  COPY --chown=user ./_env_config/stg_dev/utl_dkr_preRun.sh ./scripts/docker/
35
+ RUN chmod +x ./scripts/docker/utl_dkr_preRun.sh
36
 
37
+ USER user
38
  EXPOSE 7860
39
  ENTRYPOINT [ "./scripts/docker/utl_dkr_preRun.sh" ]
40