diff --git a/Dockerfile b/Dockerfile index 0a29511..a54e899 100644 --- a/Dockerfile +++ b/Dockerfile @@ -76,6 +76,8 @@ WORKDIR /app # Copy standalone output and static files (Monorepo paths) # Note: Base image already handles the non-root user and basic env COPY --from=builder --chown=1001:65533 /app/apps/web/public ./apps/web/public +# Fallback target: Next.js sometimes resolves from the process root depending on version +COPY --from=builder --chown=1001:65533 /app/apps/web/public ./public COPY --from=builder --chown=1001:65533 /app/apps/web/.next/standalone ./ COPY --from=builder --chown=1001:65533 /app/apps/web/.next/static ./apps/web/.next/static