split Dockerfile, dynamic backend URL
This commit is contained in:
parent
8d09663eff
commit
3d69f592f6
15 changed files with 75 additions and 60 deletions
3
Makefile
3
Makefile
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue