20 lines
675 B
Docker
20 lines
675 B
Docker
FROM repo2.hub.gmetri.io/gmetrivr/basin:node-22-slim-v3
|
|
|
|
USER root
|
|
|
|
RUN apt-get update \
|
|
&& apt-get install -y wget gnupg2 lsb-release \
|
|
&& sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list' \
|
|
&& wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - \
|
|
&& apt-get -y update \
|
|
&& apt-get install -y --no-install-recommends \
|
|
postgresql-client-14 \
|
|
&& apt-get clean all \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
USER node
|
|
|
|
# No need to install dependencies in this step
|
|
# COPY --chown=1000 ./package.json ./pnpm-lock.yaml .npmrc /src/
|
|
# RUN pnpm install;
|