Sfoglia il codice sorgente

build(docker): add prisma generate step to docker build process

vtugulan 6 mesi fa
parent
commit
642a5a1fb8
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      Dockerfile

+ 1 - 0
Dockerfile

@@ -23,6 +23,7 @@ FROM base AS builder
 WORKDIR /app
 COPY --from=deps /app/node_modules ./node_modules
 COPY . .
+RUN npx prisma generate
 
 # Next.js collects completely anonymous telemetry data about general usage.
 # Learn more here: https://nextjs.org/telemetry