update makefiles

pull/1/head
Philipp Rothmann 2022-10-25 16:24:32 +02:00
parent 37e8e97853
commit 4e4894a132
2 changed files with 5 additions and 8 deletions

View File

@ -1,14 +1,8 @@
include .env
export
build:
$(MAKE) -C backend build
docker push yksflip/dashboard-backend:latest
docker build -t dashboard .
docker tag dashboard yksflip/dashboard:latest
run:
docker run --rm -it -p 80:80 dashboard
push:
docker push yksflip/dashboard:latest
rm:

View File

@ -1,3 +1,6 @@
build:
docker build -t dashboard-backend .
docker tag dashboard-backend yksflip/dashboard-backend:latest
clean:
rm database.db