From 63b35e0fd280dc6c4e654458a1e381e9d9dc221b Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Sun, 6 Feb 2022 22:56:25 +0200 Subject: Add runner api prod URL and undockerize --- prod_bootstrap.sh | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100755 prod_bootstrap.sh (limited to 'prod_bootstrap.sh') 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;" -- cgit v1.3