Commit e571952d authored by nanahira's avatar nanahira

libpq

parent 8c937300
Pipeline #4737 passed with stages
in 1 minute and 34 seconds
FROM node:bullseye-slim
LABEL Author="Nanahira <nanahira@momobako.com>"
RUN apt update && apt -y install python3 build-essential && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
RUN apt update && apt -y install python3 build-essential libpq-dev && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
WORKDIR /usr/src/app
COPY ./package*.json ./
RUN npm ci
COPY . ./
RUN npm run build
ENV NODE_PG_FORCE_NATIVE=true
EXPOSE 3000
CMD ["npm", "run", "start:prod"]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment