fly-apps/static/Dockerfile

13 lines
289 B
Docker
Raw Normal View History

2022-08-09 04:31:25 +00:00
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