This repository has been archived on 2025-10-28. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
dashboard/Makefile
2022-10-25 16:24:32 +02:00

19 lines
552 B
Makefile

build:
$(MAKE) -C backend build
docker push yksflip/dashboard-backend:latest
docker build -t dashboard .
docker tag dashboard yksflip/dashboard:latest
docker push yksflip/dashboard:latest
rm:
docker stack rm ${STACK_NAME}
deploy: rm
DOMAIN=${DOMAIN} docker stack deploy --resolve-image always --compose-file compose.yml ${STACK_NAME}
update:
docker pull yksflip/dashboard:latest
docker service update dashboard_app --image yksflip/dashboard:latest --force
exec:
docker exec -it $$(docker ps --format "{{ .Names }}" | grep dashboard) bash