m / Dockerfile
imgar's picture
Update Dockerfile
11badcc
raw
history blame contribute delete
311 Bytes
FROM nginxinc/nginx-unprivileged:stable-alpine
# Install nginx and give permissions to 'pn'
# See https://www.rockyourcode.com/run-docker-nginx-as-non-root-user/
ENV HOME=/usr/share/nginx/html
WORKDIR $HOME
COPY nginx.conf /etc/nginx/conf.d/
COPY templates $HOME/templates
RUN cd /usr/share/nginx/html && ls