antonovmaxim commited on
Commit
df00088
1 Parent(s): b41cfb6

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -2
Dockerfile CHANGED
@@ -1,3 +1,5 @@
1
- FROM nginx:alpine
 
 
2
 
3
- COPY nginx.conf /etc/nginx/nginx.conf
 
1
+ FROM nginxinc/nginx-unprivileged:stable-alpine
2
+ # Install nginx and give permissions to 'pn'
3
+ # See https://www.rockyourcode.com/run-docker-nginx-as-non-root-user/
4
 
5
+ COPY nginx.conf /etc/nginx/conf.d/