FROM nixos/nix:latest WORKDIR /code RUN nix \ --extra-experimental-features nix-command \ --extra-experimental-features flakes \ build git+https://git.mat.services/mat/mat.services FROM caddy:latest ENV SITE_ROOT /var/www COPY Caddyfile /etc/caddy/Caddyfile COPY --from=0 /code/result ${SITE_ROOT} RUN caddy