diff --git a/Dockerfile.pro b/Dockerfile.pro index b3b07f31fc..98fb1a0c29 100644 --- a/Dockerfile.pro +++ b/Dockerfile.pro @@ -44,7 +44,11 @@ RUN echo "${COMMIT_HASH}" > /tmp/commit_hash.txt FROM node:20.13-bullseye-slim -RUN apt-get update && apt-get install -y nginx libaio1 +RUN apt-get update && apt-get install -y nginx libaio1 \ + && apt-get install -y --no-install-recommends postgresql-common gnupg \ + && /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh -y \ + && apt-get install -y --no-install-recommends postgresql-client-16 \ + && rm -rf /var/lib/apt/lists/* RUN rm -rf /etc/nginx/sites-enabled/default COPY ./docker/nocobase/nocobase.conf /etc/nginx/sites-enabled/nocobase.conf