split Dockerfile, dynamic backend URL

This commit is contained in:
Vinzenz Schroeter 2024-04-21 14:34:45 +02:00
parent 8d09663eff
commit 3d69f592f6
15 changed files with 75 additions and 60 deletions

View file

@ -1,7 +1,10 @@
TAG=cccb-tanks-cs
build:
podman build tanks-backend --tag=$(TAG)-backend
podman build tank-frontend --tag=$(TAG)-frontend
podman build . --tag=$(TAG)
run: build
podman run -i -p 3000:3000 localhost/$(TAG):latest