maksym-work commited on
Commit
ae8a9a4
·
1 Parent(s): 286d951

Set default PORT environment variable in entrypoint script and remove redundant port specification in command

Browse files
Files changed (1) hide show
  1. entrypoint.sh +2 -1
entrypoint.sh CHANGED
@@ -15,5 +15,6 @@ if [ "$INCLUDE_DB" = "true" ] ; then
15
  fi;
16
 
17
  export PUBLIC_VERSION=$(node -p "require('./package.json').version")
 
18
 
19
- dotenv -e /app/.env -c -- node /app/build/index.js -- --host 0.0.0.0 --port 7860
 
15
  fi;
16
 
17
  export PUBLIC_VERSION=$(node -p "require('./package.json').version")
18
+ export PORT=7860
19
 
20
+ dotenv -e /app/.env -c -- node /app/build/index.js -- --host 0.0.0.0