FROM ghcr.io/getzola/zola:v0.21.0 AS zola

COPY ./src /project
WORKDIR /project
RUN ["zola", "build"]

FROM ghcr.io/static-web-server/static-web-server:2
WORKDIR /
COPY --from=zola /project/public /public
