Skip to content
Snippets Groups Projects
Verified Commit babc6216 authored by Ruben van Dijk's avatar Ruben van Dijk
Browse files

Copy patches.

parent ff677dc2
Branches
No related tags found
1 merge request!93Copy patches.
Pipeline #21984 passed
......@@ -2,6 +2,7 @@ FROM node:23-alpine as builder
WORKDIR /app
COPY package.json pnpm-lock.yaml ./
RUN corepack enable
COPY patches ./patches
RUN pnpm install --frozen-lockfile
COPY prisma ./prisma
RUN pnpm exec prisma generate
......@@ -15,6 +16,7 @@ WORKDIR /app
COPY package.json pnpm-lock.yaml ./
RUN corepack enable
ENV NODE_ENV=production
COPY patches ./patches
RUN pnpm install --frozen-lockfile --prod && rm ~/.cache ~/.local -r
COPY --from=builder /app/tscOut ./
COPY prisma/migrations /app/prisma/migrations
......
......@@ -3,6 +3,7 @@ WORKDIR /app
COPY package.json pnpm-lock.yaml ./
RUN corepack enable
ENV NODE_ENV=production
COPY patches ./patches
RUN pnpm install --frozen-lockfile --prod && rm ~/.cache ~/.local -r
COPY ./tscOut /app
COPY prisma/migrations prisma/migrations
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment