FROM alpine:3 RUN apk add --no-cache git hugo nginx COPY clone-generate-and-serve.sh /bin/clone-generate-and-serve.sh COPY nginx.conf /etc/nginx/http.d/default.conf EXPOSE 80 STOPSIGNAL SIGQUIT CMD ["/bin/clone-generate-and-serve.sh"]