entrypoint.dev.sh 192 B

1234567891011121314
  1. #!/bin/sh
  2. set -e
  3. # Install node modules if not found
  4. if [ ! -d node_modules ]; then
  5. npm install
  6. fi
  7. if [[ "${APP_ENV}" == "development" ]]; then
  8. npm run dev
  9. else
  10. npm run prod
  11. fi