I created an example repo that should make it easy to reproduce the issues I am having.
1) On initial docker build bun install takes a very long time(+5 minutes) and is usually fixed by stopping and rerunning the build which is not ideal.
2) Running built docker image crashes when running drizzle migration(but this same command executes fine locally)
What is the expected behavior?
For the docker image to build quickly AND docker image runs my application successfully
What version of Bun is running?
1.1.34
What platform is your computer?
Darwin 23.6.0 arm64 arm
What steps can reproduce the bug?
I created an example repo that should make it easy to reproduce the issues I am having.
1) On initial docker build
bun install
takes a very long time(+5 minutes) and is usually fixed by stopping and rerunning the build which is not ideal. 2) Running built docker image crashes when running drizzle migration(but this same command executes fine locally)What is the expected behavior?
For the docker image to build quickly AND docker image runs my application successfully
What do you see instead?
the exact opposite
Additional information
Here is the repository you can use to reproduce it https://github.com/fjdvchain/bun-bugs