mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
build: 分开镜像
This commit is contained in:
parent
c39ba66d42
commit
d2e9d5bb98
|
|
@ -2,4 +2,4 @@ CREATE DATABASE "maxkb";
|
||||||
|
|
||||||
\c "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
|
until pg_isready --host=127.0.0.1; do sleep 1 && echo "waiting for postgres"; done
|
||||||
|
|
||||||
# Start MaxKB
|
# Start MaxKB
|
||||||
python /opt/maxkb/app/main.py start &
|
python /opt/maxkb/app/main.py start
|
||||||
|
|
||||||
# Wait for any process to exit
|
|
||||||
wait -n
|
|
||||||
|
|
||||||
# Exit with status of process that exited first
|
|
||||||
exit $?
|
|
||||||
Loading…
Reference in New Issue