Template
1
0
dummy/Makefile
2020-11-04 10:30:06 +01:00

12 lines
232 B
Makefile

all: build deploy update
build: Makefile
docker build -t dummy:latest .
deploy:
docker service ps -q dummy || docker service create \
--name dummy \
dummy:latest
update:
docker service update --force dummy