FROM klakegg/hugo:latest as hugo

ADD . /src

RUN hugo

FROM caddy:latest

ADD Caddyfile /etc/caddy/

COPY --from=hugo /src/public /html/

