Bun docker image
Unanswered
Atlantic horse mackerel posted this in #help-forum
Atlantic horse mackerelOP
has anyone tried the oven/bun docker image to build a next app? it fails on build for me, so I assume it's missing some dependencies. if I use the node image, and install bun on that, the build then works. bun run build works perfectly locally too. here's the output of the docker build
=> [build 4/5] RUN bun install 6.7s
=> ERROR [build 5/5] RUN bun run build 8.6s
------
> [build 5/5] RUN bun run build:
0.106 $ next build
0.179 - warn You are using a non-standard "NODE_ENV" value in your environment. This creates inconsistencies in the project and is strongly advised against. Read more: https://nextjs.org/docs/messages/non-standard-node-env
0.573 - info Creating an optimized production build...
8.457 error: script "build" exited with code 9 (SIGKILL)