FROM docker.io/alpine:latest as builder WORKDIR /tmp RUN apk add -U --no-cache hugo WORKDIR /src COPY . /src/ RUN hugo --minify --environment production --config config.toml FROM code.icb4dc0.de/prskr/ci-images/caddy:latest as final COPY --from=builder /src/public /usr/share/caddy