Template
1
0
dummy/Makefile
2021-02-03 18:27:45 +01:00

15 lines
331 B
Makefile

all: build deploy update
build: Makefile
podman build -t dummy:latest .
deploy:
docker service rm dummy || true
install -D -m 644 config/systemd/dummy.service /etc/systemd/system
podman run --name dummy -d dummy:latest
systemctl daemon-reload
systemctl enable dummy.service
update:
systemctl --user restart dummy.service