From 9d535d401e1e8c8c6a62585a6b24b819379c1951 Mon Sep 17 00:00:00 2001 From: junjun Date: Tue, 2 Sep 2025 17:36:46 +0800 Subject: [PATCH 1/2] build: allinone --- Dockerfile | 2 -- 1 file changed, 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 58644d00..b0e9884f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -59,9 +59,7 @@ RUN python --version && pip --version COPY --from=ghcr.io/astral-sh/uv:0.7.8 /uv /uvx /bin/ ARG DEPENDENCIES=" \ - vim \ wait-for-it \ - postgresql-17-pgvector \ build-essential \ curl \ gnupg \ From 9b8594fee54b71ad63cf77a7bffb03fc7a70d0e9 Mon Sep 17 00:00:00 2001 From: junjun Date: Tue, 2 Sep 2025 17:44:17 +0800 Subject: [PATCH 2/2] build: allinone --- start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start.sh b/start.sh index 5cf6cde7..e26c3d20 100644 --- a/start.sh +++ b/start.sh @@ -1,7 +1,7 @@ SSR_PATH=/opt/sqlbot/g2-ssr APP_PATH=/opt/sqlbot/app -/usr/local/bin/docker-entrypoint.sh postgres +/usr/local/bin/docker-entrypoint.sh postgres & sleep 5 wait-for-it 127.0.0.1:5432 --timeout=120 --strict -- echo -e "\033[1;32mPostgreSQL started.\033[0m"