Template
1
0

Added a Makefile

This commit is contained in:
Azer Abdullaev 2020-10-31 00:18:29 +01:00
parent d5c3fa422a
commit f66564528f

11
Makefile Normal file
View File

@ -0,0 +1,11 @@
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