Thomas E Lackey
f55a14bd6c
* Create new base container for pre-compiled webapps. * Set the webapp dir appropriately.
10 lines
248 B
Bash
Executable File
10 lines
248 B
Bash
Executable File
#!/usr/bin/env bash
|
|
if [ -n "$CERC_SCRIPT_DEBUG" ]; then
|
|
set -x
|
|
fi
|
|
|
|
CERC_WEBAPP_FILES_DIR="${CERC_WEBAPP_FILES_DIR:-/data}"
|
|
|
|
/scripts/apply-webapp-config.sh /config/config.yml ${CERC_WEBAPP_FILES_DIR}
|
|
http-server -p 80 ${CERC_WEBAPP_FILES_DIR}
|