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 COPY Caddyfile /etc/caddy/Caddyfile COPY --from=0 /code/result /var/www RUN caddy