Skip to content

Commit fa073ab

Browse files
FIX (dockerfile): Fix database creation SQL script
1 parent f24b321 commit fa073ab

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,8 @@ echo "Setting up database and user..."
167167
gosu postgres \$PG_BIN/psql -p 5437 -h localhost -d postgres << 'SQL'
168168
ALTER USER postgres WITH PASSWORD 'Q1234567';
169169
SELECT 'CREATE DATABASE postgresus OWNER postgres'
170-
WHERE NOT EXISTS (SELECT FROM pg_database WHERE datname = 'postgresus')\gexec
170+
WHERE NOT EXISTS (SELECT FROM pg_database WHERE datname = 'postgresus')
171+
\gexec
171172
\q
172173
SQL
173174

0 commit comments

Comments
 (0)