FROM klakegg/hugo:ext-alpine AS builder WORKDIR /src COPY . /src RUN hugo --minify --destination /tmp/public FROM nginx:1.27-alpine COPY deploy/nginx.conf /etc/nginx/conf.d/default.conf COPY --from=builder /tmp/public /usr/share/nginx/html