Open ImBIOS opened 1 year ago
It tells me to check https://github.com/oven-sh/bun/issues/2688
Thanks for reporting this issue, Next.js is likely loading node:diagnostics_channel
when NODE_ENV=production
, so it's unlikely this is a Docker-specific issue.
As you mentioned, we need to implement #2688 for this issue to be fixed.
What version of Bun is running?
0.7.1
What platform is your computer?
Darwin 23.0.0 arm64 arm
What steps can reproduce the bug?
ā Reproduce Next.js Local Build
š“ Reproduce Next.js in Docker
Prerequisites:
docker build .
RUN bun run build
)What is the expected behavior?
It should successfully build locally or docker.
What do you see instead?
Additional information
The Dockerfile is generated by flyctl (fly.io's cli). As far as I know, only fly.io supports bun, so I must deploy there.