We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 819476b commit e851d64Copy full SHA for e851d64
docker-entrypoint.sh
@@ -103,7 +103,7 @@ if [ "$1" = 'postgres' ]; then
103
for f in /docker-entrypoint-initdb.d/*; do
104
case "$f" in
105
*.sh) echo "$0: running $f"; . "$f" ;;
106
- *.sql) echo "$0: running $f"; "${psql[@]}" < "$f"; echo ;;
+ *.sql) echo "$0: running $f"; "${psql[@]}" -f "$f"; echo ;;
107
*.sql.gz) echo "$0: running $f"; gunzip -c "$f" | "${psql[@]}"; echo ;;
108
*) echo "$0: ignoring $f" ;;
109
esac
0 commit comments