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 \ 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"