fix: added prisma generate to dockerfile

This commit is contained in:
Elie Baier 2023-12-04 20:32:56 +01:00
parent d21fa01ff2
commit 8ac9754b52
1 changed files with 1 additions and 0 deletions

View File

@ -13,6 +13,7 @@ COPY --from=deps /app/node_modules ./node_modules
COPY . . COPY . .
ENV NEXT_TELEMETRY_DISABLED 1 ENV NEXT_TELEMETRY_DISABLED 1
RUN npx prisma generate
RUN npm run build RUN npm run build
FROM node:18-alpine AS runner FROM node:18-alpine AS runner