fix: add prisma generate step to Dockerfile before build
This commit is contained in:
@@ -20,6 +20,7 @@ COPY . .
|
|||||||
# Environment variables must be present at build time for Next.js
|
# Environment variables must be present at build time for Next.js
|
||||||
ENV NEXT_TELEMETRY_DISABLED=1
|
ENV NEXT_TELEMETRY_DISABLED=1
|
||||||
|
|
||||||
|
RUN npx prisma generate
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
# 4. Runner
|
# 4. Runner
|
||||||
|
|||||||
Reference in New Issue
Block a user