diff --git a/Dockerfile b/Dockerfile index cb3f53a..f54b452 100644 --- a/Dockerfile +++ b/Dockerfile @@ -49,7 +49,8 @@ COPY --from=builder /app/apps/web/public ./apps/web/public COPY --from=builder /app/apps/web/.next/standalone ./ COPY --from=builder /app/apps/web/.next/static ./apps/web/.next/static - +# Explicitly copy Payload dynamically generated importMap.js excluded by Standalone tracing +COPY --from=builder /app/apps/web/app/(payload)/admin/importMap.js ./apps/web/app/(payload)/admin/importMap.js # Start from the app directory to ensure references solve correctly WORKDIR /app/apps/web CMD ["node", "server.js"]