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 8a94e73
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
FROM nixos/nix

# Setup repo
WORKDIR /poll
COPY . .

# Build server
RUN nix \
--extra-experimental-features "nix-command flakes" \
build .#server

CMD nix \
--extra-experimental-features "nix-command flakes" \
build .#client
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 8a94e73

Please sign in to comment.