Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
version: "3"
services:
vote:
build: .
build:
context: .
target: build
working_dir: /src
command: ["go", "run", "./..."]
volumes:
- type: bind
source: .
target: /src
container_name: vote
depends_on:
- mongodb
Expand Down