mirror of
https://gitlab.com/mobicoop/v3/service/auth.git
synced 2026-01-02 16:52:41 +00:00
fix prisma error fail on build
This commit is contained in:
@@ -12,6 +12,9 @@ WORKDIR /usr/src/app
|
||||
# Copying this first prevents re-running npm install on every code change.
|
||||
COPY --chown=node:node package*.json ./
|
||||
|
||||
# Copy prisma (needed for prisma error types)
|
||||
COPY --chown=node:node ./prisma prisma
|
||||
|
||||
# Install app dependencies using the `npm ci` command instead of `npm install`
|
||||
RUN npm ci
|
||||
RUN npx prisma generate
|
||||
|
||||
Reference in New Issue
Block a user