build: 分开镜像
This commit is contained in:
parent
d2e9d5bb98
commit
9e1d16d320
@ -2,7 +2,7 @@
|
||||
|
||||
# Start postgress
|
||||
docker-entrypoint.sh postgres &
|
||||
|
||||
sleep 10
|
||||
# Wait postgress
|
||||
until pg_isready --host=127.0.0.1; do sleep 1 && echo "waiting for postgres"; done
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user