Refactor docker infra

This commit is contained in:
sfigato 2023-03-14 18:35:30 +01:00
parent 6bcc42d8b6
commit 463540be75
Signed by: blallo
GPG Key ID: C530464EEDCF489A
2 changed files with 5 additions and 2 deletions

View File

@ -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"]

View File

@ -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