Template
1
0
dummy/Makefile

12 lines
235 B
Makefile
Raw Normal View History

2020-10-31 00:18:29 +01:00
all: build deploy update
build: Makefile
2020-11-04 10:18:46 +01:00
docker build -t dummy:latest .
2020-10-31 00:18:29 +01:00
deploy:
docker service ps -q rcmd-api || docker service create \
--name dummy \
dummy:latest
update:
docker service update --force dummy