Dockerfile (274B)
1 FROM alpine as builder 2 3 WORKDIR /home/site 4 COPY . . 5 6 RUN apk add zola --repository http://dl-cdn.alpinelinux.org/alpine/edge/community/ \ 7 && zola build 8 9 FROM nginx:alpine 10 11 COPY --from=builder /home/site/public /usr/share/nginx/html 12 COPY ./nginx.conf /etc/nginx/nginx.conf