Template
1
0
dummy/Makefile
2021-02-03 19:06:43 +01:00

15 lines
314 B
Makefile

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