From acf6a51492051aebfa20536c8567bbe350306c09 Mon Sep 17 00:00:00 2001 From: chenos Date: Tue, 19 Nov 2024 22:31:39 +0800 Subject: [PATCH] feat: install postgresql-client --- Dockerfile.pro | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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