front end flow for bypassing auth0 on local buils
This commit is contained in:
parent
23de0a3bca
commit
8169e280ec
2 changed files with 12 additions and 4 deletions
|
|
@ -43,10 +43,6 @@ if [[ ! -f "$INDEX_HTML" ]]; then
|
|||
echo "error: missing $INDEX_HTML after build:local" >&2
|
||||
exit 1
|
||||
fi
|
||||
if grep -qiE 'crisp\.chat|\$crisp|CRISP_WEBSITE_ID|CRISP_RUNTIME_CONFIG' "$INDEX_HTML"; then
|
||||
echo "error: build/index.html still references Crisp; expected nocrisp build (indexLocal.html)" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# 2. Build container image
|
||||
docker build -t webui:local -f Dockerfile .
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue