FROM alpine:latest RUN apk update && apk upgrade && apk add bash autoconf automake make gcc g++ nginx COPY nginx /etc/nginx EXPOSE 80 EXPOSE 443 STOPSIGNAL SIGTERM CMD ["/bin/bash", "-c", "chmod 755 /usr/share/nginx/html && nginx -g 'daemon off;'"]