Team Ai
Apppublic

Underground-Digital/Workflow-Engine

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes
entrypoint.sh28 linesDownload Raw Back to docker
1#!/bin/bash2 3 4 5# if you are using windows, you may need to convert the file to unix format6# you can use the Ubuntu terminal to convert this file to unix format7# otherwise, you may get the error after running the docker container8 9# sudo apt-get install dos2unix10# dos2unix entrypoint.sh11 12 13set -e14 15export NEXT_PUBLIC_DEPLOY_ENV=${DEPLOY_ENV}16export NEXT_PUBLIC_EDITION=${EDITION}17export NEXT_PUBLIC_API_PREFIX=${CONSOLE_API_URL}/console/api18export NEXT_PUBLIC_PUBLIC_API_PREFIX=${APP_API_URL}/api19 20export NEXT_PUBLIC_SENTRY_DSN=${SENTRY_DSN}21export NEXT_PUBLIC_SITE_ABOUT=${SITE_ABOUT}22export NEXT_TELEMETRY_DISABLED=${NEXT_TELEMETRY_DISABLED}23 24export NEXT_PUBLIC_TEXT_GENERATION_TIMEOUT_MS=${TEXT_GENERATION_TIMEOUT_MS}25export NEXT_PUBLIC_CSP_WHITELIST=${CSP_WHITELIST}26 27pm2 start ./pm2.json --no-daemon28