entrypoint.dev.sh 259 B

123456789101112131415
  1. #!/bin/sh
  2. set -e
  3. if [[ "${BACKEND_DEBUG}" == "true" ]]; then
  4. export INSPECT_BRK="--inspect-brk=0.0.0.0:${BACKEND_DEBUG_PORT:-9229}"
  5. else
  6. export INSPECT_BRK=""
  7. fi
  8. if [[ "${APP_ENV}" == "development" ]]; then
  9. npm run dev
  10. else
  11. npm run prod
  12. fi