diff options
| author | Joe Carstairs <me@joeac.net> | 2025-12-13 20:36:03 +0000 |
|---|---|---|
| committer | Joe Carstairs <me@joeac.net> | 2025-12-13 20:38:40 +0000 |
| commit | 7300b1542147d1834f8ccb48474cd66d027c68ee (patch) | |
| tree | 0209e4f95f8e4d94fc2ffe46f806db672cf27411 /rpi.sh | |
| parent | fa8948da138f949564ab0124078eb0da3bb70562 (diff) | |
rpi.sh
Diffstat (limited to 'rpi.sh')
| -rwxr-xr-x | rpi.sh | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -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 + |
