Files
jc-ng/run_local.sh
2025-02-04 21:01:10 +00:00

14 lines
265 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"
fi
docker run -v $(pwd)/src/:/var/www/jc $content_dir jc-ng-localtest