This commit is contained in:
2025-12-13 20:36:03 +00:00
parent fa8948da13
commit 7300b15421

14
rpi.sh Executable file
View File

@@ -0,0 +1,14 @@
#!/bin/sh
DOCKER_BIN=podman
WEBSITE_DIR="$HOME/joeac.net"
PORT=80
set -eux
$DOCKER_BIN stop --all
cd "$WEBSITE_DIR"
git pull
$DOCKER_BIN build -t joeac.net .
$DOCKER_BIN run -dt -p $PORT:4321 joeac.net