FROM betterweb/hugo:latest
WORKDIR /app

COPY . /app/
RUN hugo

FROM registry.odit.services/library/nginx-brotli
COPY --from=0 /app/public /usr/share/nginx/html