wiki/Dockerfile
2024-01-04 18:27:38 +05:30

10 lines
160 B
Docker

FROM nixos/nix:latest
WORKDIR /app
COPY . .
RUN nix \
--extra-experimental-features "nix-command flakes" \
build .#app
CMD [ "/app/result/bin/app" ]