mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-10 10:16:55 +08:00
build: allinone
This commit is contained in:
+4
-6
@@ -36,7 +36,7 @@ RUN --mount=type=cache,target=/root/.cache/uv \
|
||||
uv sync --extra cpu
|
||||
|
||||
# Build g2-ssr
|
||||
FROM registry.cn-qingdao.aliyuncs.com/dataease/sqlbot-base:latest AS ssr-builder
|
||||
FROM registry.cn-qingdao.aliyuncs.com/dataease/sqlbot-python-pg:latest AS ssr-builder
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
@@ -54,11 +54,9 @@ ENV SQLBOT_HOME=/opt/sqlbot
|
||||
ENV PYTHONPATH=${SQLBOT_HOME}/app
|
||||
ENV PATH="${SQLBOT_HOME}/app/.venv/bin:$PATH"
|
||||
|
||||
# ENV POSTGRES_SERVER=localhost
|
||||
# ENV POSTGRES_PORT=5432
|
||||
# ENV POSTGRES_DB=sqlbot
|
||||
# ENV POSTGRES_USER=root
|
||||
# ENV POSTGRES_PASSWORD=Password123@pg
|
||||
ENV POSTGRES_DB=sqlbot
|
||||
ENV POSTGRES_USER=root
|
||||
ENV POSTGRES_PASSWORD=Password123@pg
|
||||
|
||||
# Copy necessary files from builder
|
||||
COPY start.sh /opt/sqlbot/app/start.sh
|
||||
|
||||
Reference in New Issue
Block a user