FROM alpine:latest RUN rm -rf ./public/* RUN apk add --update hugo RUN hugo FROM nginx:stable-alpine COPY ./public /usr/share/nginx/html EXPOSE 80