From d3a1a20b3ab6632c309b6b6d20d416db90651833 Mon Sep 17 00:00:00 2001 From: VRSasha Date: Thu, 10 Aug 2023 18:25:49 +0700 Subject: [PATCH] don't keep old containers when building --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 89028d6..4310669 100755 --- a/install.sh +++ b/install.sh @@ -3,8 +3,8 @@ podman rm ttt-org sed -i "s/DATE/$(date -I)/g" index.html sed -i "s/VERSION/$(git log -1 --oneline | awk '{print $1}')/g" index.html -podman build -t ttt-org:$(date -I) . -podman run --name ttt-org -p 8084:80 -d ttt-org:$(date -I) +podman build -t ttt-org . +podman run --name ttt-org -p 8084:80 -d ttt-org podman generate systemd ttt-org > ~/.config/systemd/user/ttt-org.service systemctl --user daemon-reload