12 lines
233 B
Makefile
12 lines
233 B
Makefile
all: build deploy update
|
|
|
|
build: Makefile
|
|
docker build -t dummy:latest
|
|
|
|
deploy:
|
|
docker service ps -q rcmd-api || docker service create \
|
|
--name dummy \
|
|
dummy:latest
|
|
update:
|
|
docker service update --force dummy
|