Dockerfiles

The recommended way to deploy Bun, Deno, and Node.js applications is via Dockerfiles. You can provide your own Dockerfile or you can let Fly.io’s dockerfile generator produce one for you.

Launching applications on Fly can be as simple as running:

fly launch

In most cases you won’t ever need to edit the Dockerfile fly launch provides for you directly. Instead you will be able to use one or more of the many options to make changes. For example:

npx dockerfile --add=dnsutils