There was an error while loading. Please reload this page.
1 parent 7595b9a commit b94e15cCopy full SHA for b94e15c
1 file changed
entrypoint.sh
@@ -6,7 +6,7 @@ PRISMA_MIGRATIONS_TABLE="_prisma_migrations"
6
7
# Extract DB_HOST and DB_PORT from POSTGRES_HOST
8
DB_HOST=$(echo $POSTGRES_HOST | cut -d':' -f1)
9
-DB_PORT=$(echo $POSTGRES_HOST | cut -d':' -f2)
+DB_PORT=$(echo $POSTGRES_HOST | cut -s -d':' -f2)
10
11
# Default to port 5432 if DB_PORT is not set
12
if [ -z "$DB_PORT" ]; then
0 commit comments