Skip to content

Commit

Permalink
feat: Add Dockerfile for containerization
Browse files Browse the repository at this point in the history
  • Loading branch information
Anduin2017 authored and codgician committed May 16, 2024
1 parent 00ae7b7 commit fef79ee
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM nixos/nix

WORKDIR /app
COPY . .

EXPOSE 8000

RUN nix --extra-experimental-features nix-command --extra-experimental-features flakes build
ENTRYPOINT ["sh", "-c", "nix --extra-experimental-features nix-command --extra-experimental-features flakes run"]

0 comments on commit fef79ee

Please sign in to comment.