feat: install postgresql-client

This commit is contained in:
chenos 2024-11-19 22:31:39 +08:00
parent fb3d039d25
commit acf6a51492

View File

@ -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