Spaces:
Paused
Paused
Commit ·
ae8a9a4
1
Parent(s): 286d951
Set default PORT environment variable in entrypoint script and remove redundant port specification in command
Browse files- 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
|
|
|
|
| 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
|