mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-04 21:19:27 +08:00
feat: install postgresql-client
This commit is contained in:
parent
fb3d039d25
commit
acf6a51492
@ -44,7 +44,11 @@ RUN echo "${COMMIT_HASH}" > /tmp/commit_hash.txt
|
|||||||
|
|
||||||
|
|
||||||
FROM node:20.13-bullseye-slim
|
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
|
RUN rm -rf /etc/nginx/sites-enabled/default
|
||||||
|
|
||||||
COPY ./docker/nocobase/nocobase.conf /etc/nginx/sites-enabled/nocobase.conf
|
COPY ./docker/nocobase/nocobase.conf /etc/nginx/sites-enabled/nocobase.conf
|
||||||
|
Loading…
x
Reference in New Issue
Block a user