mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-25 17:22:55 +00:00
build: 分开镜像
This commit is contained in:
parent
c39ba66d42
commit
d2e9d5bb98
|
|
@ -2,4 +2,4 @@ CREATE DATABASE "maxkb";
|
|||
|
||||
\c "maxkb";
|
||||
|
||||
CREATE EXTENSION "vector" VERSION '0.6.1';
|
||||
CREATE EXTENSION "vector";
|
||||
|
|
@ -7,10 +7,4 @@ docker-entrypoint.sh postgres &
|
|||
until pg_isready --host=127.0.0.1; do sleep 1 && echo "waiting for postgres"; done
|
||||
|
||||
# Start MaxKB
|
||||
python /opt/maxkb/app/main.py start &
|
||||
|
||||
# Wait for any process to exit
|
||||
wait -n
|
||||
|
||||
# Exit with status of process that exited first
|
||||
exit $?
|
||||
python /opt/maxkb/app/main.py start
|
||||
Loading…
Reference in New Issue