14 lines
280 B
Makefile
14 lines
280 B
Makefile
all: build deploy update
|
|
|
|
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
|
|
systemctl enable dummy.service
|
|
|
|
update:
|
|
systemctl restart dummy.service
|