Update Dockerfile (#7009)

* Update Dockerfile

* Update Dockerfile

* Update Dockerfile

* Update Dockerfile

* Update Dockerfile
This commit is contained in:
chenos 2025-06-06 18:23:18 +08:00 committed by GitHub
parent b324374521
commit 35de1afdd3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -56,11 +56,11 @@ RUN cd /app \
FROM node:20-bookworm-slim
RUN apt-get update && apt-get install -y --no-install-recommends wget gnupg \
RUN apt-get update && apt-get install -y --no-install-recommends wget gnupg ca-certificates \
&& rm -rf /var/lib/apt/lists/*
RUN sh -c 'echo "deb http://mirrors.aliyun.com/postgresql/repos/apt bookworm-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
RUN wget --quiet -O - http://mirrors.aliyun.com/postgresql/repos/apt/ACCC4CF8.asc | apt-key add -
RUN echo "deb [signed-by=/usr/share/keyrings/pgdg.asc] http://apt.postgresql.org/pub/repos/apt bookworm-pgdg main" > /etc/apt/sources.list.d/pgdg.list
RUN wget --quiet -O /usr/share/keyrings/pgdg.asc https://www.postgresql.org/media/keys/ACCC4CF8.asc
RUN apt-get update && apt-get install -y --no-install-recommends \
nginx \