Closed kumastry closed 1 year ago
.dockerignore
file generated by fly launch has bun.lockb
file mentioned which is the cause of this problem. simply remove bun.lockb
and it should work.
yes, @itsnamangoyal is right. If help in anything, I have a repository that can be deployed on fly.io. bun + elysia. https://github.com/codiplace/bun-elysia
@itsnamangoyal @irvile Thank you for teaching! It works!
If you are having issues with "sh: 1: bun: not found", flyio isn't generating the correct Dockerfile for some reason. Follow @irvile 's link: https://github.com/codiplace/bun-elysia
Use that instead, or copy the Dockerfile
, it will launch correctly
fly io bun issue
What version of Bun is running?
1.0.0+822a00c4d508b54f650933a73ca5f4a3af9a7983
What platform is your computer?
Linux 5.15.90.1-microsoft-standard-WSL2 x86_64 x86_64
What steps can reproduce the bug?
I was trying to deploy a bun app to fly.io following this tutorial. https://github.com/fly-apps/bun/
But a docker error occured like below.
And a dockerfile generated by
fly launch
is like below.Is this a Bun's bug?
What is the expected behavior?
deploying sccessfully to fly.io
What do you see instead?
No response
Additional information
flyctl's version is v0.1.103.