diff options
Diffstat (limited to 'prod_bootstrap.sh')
| -rwxr-xr-x | prod_bootstrap.sh | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/prod_bootstrap.sh b/prod_bootstrap.sh deleted file mode 100755 index c1de926..0000000 --- a/prod_bootstrap.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/bash - -set -euo pipefail -DIR="${1}" -VALID_ENV_KEYS=$(printenv | awk -F '=' '{ print $1 }' | tail | awk 'NF') - -for f in $(find ${DIR} -regex '.*\.js'); do - for envKey in ${VALID_ENV_KEYS}; do - replaced=$(printenv ${envKey}) - sed -i "s|%${envKey}|${replaced}|g" "${f}" - echo "[bootstrap] Replaced ${envKey} from container environment." - done -done - -nginx -g "daemon off;" |
