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