Files
jc-ng/run_local.sh
T
2026-09-16 20:36:14 +01:00

13 lines
268 B
Bash
Executable File

#!/bin/bash --noprofile
set -x -o pipefail
./build.sh "jc-ng-localtest"
content_dir=""
if [[ -d "../jc-content" ]]; then
content_dir="-v $(realpath ../jc-content):/var/www/jc/projects:z"
fi
docker run -e DISCORD_ERR_HOOK=dummy $1 $content_dir jc-ng-localtest