Fix Docker build: Install prisma in runner stage to resolve prisma/config module
All checks were successful
Automated Container Build / build-and-push (push) Successful in 59s
All checks were successful
Automated Container Build / build-and-push (push) Successful in 59s
This commit is contained in:
parent
ce45c09b20
commit
4df08da263
1 changed files with 1 additions and 0 deletions
|
|
@ -26,6 +26,7 @@ COPY --from=builder /app/.next/static ./.next/static
|
||||||
COPY --from=builder /app/public ./public
|
COPY --from=builder /app/public ./public
|
||||||
COPY --from=builder /app/prisma ./prisma
|
COPY --from=builder /app/prisma ./prisma
|
||||||
COPY --from=builder /app/prisma.config.ts ./
|
COPY --from=builder /app/prisma.config.ts ./
|
||||||
|
RUN npm install prisma@^7.8.0
|
||||||
COPY docker-entrypoint.sh ./
|
COPY docker-entrypoint.sh ./
|
||||||
RUN chmod +x docker-entrypoint.sh && chown -R appuser:appuser /app
|
RUN chmod +x docker-entrypoint.sh && chown -R appuser:appuser /app
|
||||||
USER appuser
|
USER appuser
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue