FROM alpine:latest as build WORKDIR /build RUN apk add --no-cache --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community hugo COPY ./ ./ RUN hugo FROM nginx:latest COPY ./nginx.conf /etc/nginx/nginx.conf COPY --from=build /build/public /usr/share/nginx/html