Skip to content

Commit

Permalink
deploy: add Docker
Browse files Browse the repository at this point in the history
  • Loading branch information
drawbu committed Apr 23, 2024
1 parent 8be05bf commit 77a97db
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FROM nixos/nix

# Setup repo
WORKDIR /poll
COPY . .

# Build server
RUN nix build .#server

CMD nix run .#server
11 changes: 11 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
version: '3'

services:
myteams:
build:
context: .
dockerfile: Dockerfile
volumes:
- /var/run/myteams:/pool
ports:
- "6969:6969"

0 comments on commit 77a97db

Please sign in to comment.