feat: run in background

This commit is contained in:
Settel 2025-04-29 07:31:44 +02:00
parent f111777556
commit 030289be09

View File

@ -1,6 +1,7 @@
VERSION=1.2
SHELL=/bin/bash
PROFILE=diva-e
OPT=
.PHONY: info
@ -11,8 +12,11 @@ info:
build:
podman build -t teams-pwa:$(VERSION) .
run-bg:
$(MAKE) run OPT="-d"
run:
podman run -it \
podman run $(OPT) -it \
--rm \
--net host \
--memory 2048mb \
@ -27,8 +31,11 @@ run:
--device /dev/snd \
--device /dev/dri \
-v /dev/shm:/dev/shm \
--name teams-pwa \
--name teams-pwa-$(PROFILE) \
teams-pwa:$(VERSION)
stop:
podman stop teams-pwa-$(PROFILE)
clean:
@echo "nothing to do (yet)"