1
0
stack-orchestrator/app/data/container-build/cerc-laconic-console-host/start-serving-app.sh
David Boreham 2b94ed12c2 Run template substitution on start
Former-commit-id: e072a6bc4bd5072905b32f9739cfeadca04288fb
2023-03-31 16:33:48 -06:00

9 lines
314 B
Bash
Executable File

#!/usr/bin/env bash
if [ -n "$CERC_SCRIPT_DEBUG" ]; then
set -x
fi
# TODO: Don't hard wire this:
webapp_files_dir=/usr/local/share/.config/yarn/global/node_modules/@cerc-io/console-app/dist/production
/scripts/apply-webapp-config.sh /config/config.yml ${webapp_files_dir}
http-server -p 80 ${webapp_files_dir}