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