mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-08 01:06:59 +08:00
Merge branch 'main' of https://github.com/dataease/SQLBot
This commit is contained in:
+16
-16
@@ -58,17 +58,22 @@ RUN python --version && pip --version
|
||||
# Install uv tool
|
||||
COPY --from=ghcr.io/astral-sh/uv:0.7.8 /uv /uvx /bin/
|
||||
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
build-essential \
|
||||
curl \
|
||||
gnupg \
|
||||
gcc \
|
||||
g++ \
|
||||
libcairo2-dev \
|
||||
libpango1.0-dev \
|
||||
libjpeg-dev \
|
||||
libgif-dev \
|
||||
librsvg2-dev \
|
||||
ARG DEPENDENCIES=" \
|
||||
vim \
|
||||
wait-for-it \
|
||||
postgresql-17-pgvector \
|
||||
build-essential \
|
||||
curl \
|
||||
gnupg \
|
||||
gcc \
|
||||
g++ \
|
||||
libcairo2-dev \
|
||||
libpango1.0-dev \
|
||||
libjpeg-dev \
|
||||
libgif-dev \
|
||||
librsvg2-dev"
|
||||
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends $DEPENDENCIES \
|
||||
&& curl -fsSL https://deb.nodesource.com/setup_18.x | bash - \
|
||||
&& apt-get install -y nodejs \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
@@ -76,11 +81,6 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
&& chmod g+xr /usr/bin/ld.so \
|
||||
&& chmod g+x /usr/local/bin/python*
|
||||
|
||||
ARG DEPENDENCIES=" \
|
||||
vim \
|
||||
wait-for-it \
|
||||
postgresql-17-pgvector"
|
||||
|
||||
# ENV PGDATA=/var/lib/postgresql/data \
|
||||
# POSTGRES_USER=root \
|
||||
# POSTGRES_PASSWORD=Password123@pg \
|
||||
|
||||
Reference in New Issue
Block a user