update makefiles
This commit is contained in:
parent
37e8e97853
commit
4e4894a132
2 changed files with 5 additions and 8 deletions
10
Makefile
10
Makefile
|
@ -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:
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
build:
|
||||
docker build -t dashboard-backend .
|
||||
docker tag dashboard-backend yksflip/dashboard-backend:latest
|
||||
|
||||
clean:
|
||||
rm database.db
|
||||
|
|
Loading…
Reference in a new issue