docker-compose-sample/nginx/Dockerfile
2020-04-14 15:34:34 +00:00

5 lines
173 B
Docker

FROM nginx:alpine
COPY default.conf /etc/nginx/conf.d/default.conf
RUN adduser -u 1100 -D -H web-user \
&& sed -i -E 's/(user\s+)\w+;/\1 web-user;/' /etc/nginx/nginx.conf