feat: run in background
This commit is contained in:
parent
f111777556
commit
030289be09
11
Makefile
11
Makefile
@ -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)"
|
||||
|
Loading…
x
Reference in New Issue
Block a user