diff --git a/docker/web/Dockerfile b/docker/web/Dockerfile index 9bf89cee..3631182f 100644 --- a/docker/web/Dockerfile +++ b/docker/web/Dockerfile @@ -40,6 +40,10 @@ COPY --from=builder /app/.next/standalone ./ COPY --from=builder /app/.next/static ./.next/static COPY --from=builder /app/package.json ./package.json +# Copy instrumentation file for server startup initialization +COPY --from=builder /app/.next/server/instrumentation.js ./.next/server/instrumentation.js +COPY --from=builder /app/.next/server/instrumentation ./.next/server/instrumentation + # Copy Prisma client COPY --from=builder /app/node_modules/.prisma ./node_modules/.prisma COPY --from=builder /app/node_modules/@prisma ./node_modules/@prisma