This commit is contained in:
Sahil Ahuja 2025-02-13 22:05:29 +05:30
parent bfe846c9b2
commit f6eb8b6315

View File

@ -0,0 +1,19 @@
FROM repo2.hub.gmetri.io/gmetrivr/basin:node-22-dev-v2
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;