FROM alpine:3.12 LABEL maintainer = "bisco - " RUN addgroup -g 82 www-data &&\ adduser -u 82 -G www-data -g 'World Wide Web user' \ -s /sbin/nologin -D www-data RUN apk add --update --no-cache \ bash \ nginx nginx-mod-http-image-filter \ nginx-mod-http-headers-more \ nginx-mod-http-xslt-filter COPY nginx.conf ssl_params gzip_params /etc/nginx/ COPY nginx.vh.default.conf /etc/nginx/conf.d/default.conf VOLUME ["/etc/nginx/"] EXPOSE 80 443 STOPSIGNAL SIGTERM CMD ["nginx", "-g", "daemon off;"]