Refactor docker infra
This commit is contained in:
parent
6bcc42d8b6
commit
463540be75
|
@ -9,4 +9,4 @@ RUN apt update \
|
|||
&& go build -o / ./cmd/... \
|
||||
&& rm -rf /var/lib/apt/lists/* /var/cache/*
|
||||
|
||||
ENTRYPOINT /broadcast -debug /echo
|
||||
ENTRYPOINT ["/broadcast"]
|
|
@ -4,9 +4,12 @@ services:
|
|||
api:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile.dev
|
||||
dockerfile: Dockerfile
|
||||
ports:
|
||||
- 8080:8080
|
||||
command:
|
||||
- "-debug"
|
||||
- "/echo"
|
||||
|
||||
ui:
|
||||
image: node
|
||||
|
|
Loading…
Reference in New Issue
Block a user