flyctl icon indicating copy to clipboard operation
flyctl copied to clipboard

Ftlctl generating wrong NodeJS environment Dockerfile

Open Kitanga opened this issue 2 years ago • 0 comments

Please only report specific issues with flyctl behavior. Anything like a support request for your application should go to https://community.fly.io. More people watch that space and can help you faster!

Describe the bug When using fly launch on a bun app, it breaks in WSL. Something about ".dockerfile ||="

image

I switched to powershell and used ftlctl from there. Launch worked. But now I had another problem, the app was crashing with error: sh: 1: bun: not found. It took some digging and finding dockerfile in this repo by codiplace (https://github.com/codiplace/bun-elysia) for my app to start running.

Bug: For some reason, the dockerfile generated was for NodeJS

  • Operating system
  • flyctl v0.1.104 linux/amd64 Commit: 682c341cb1b8fc0bc80589fd96d7cad34f1772f0 BuildDate: 2023-09-29T15:46:28Z

Kitanga avatar Oct 09 '23 06:10 Kitanga