Skip to content

fly launch no longer generates a Dockerfile for Astro 5 sites #4723

@timothymalcham

Description

@timothymalcham

Tried to launch and deploy a brand new Astro project using version 5.16.10, using the minimal, recommended template they provide via npm create astro@latest. It creates a fly.toml, but no Dockerfile.

➜ fly launch
Scanning source code
Could not find a Dockerfile, nor detect a runtime or framework from source code. Continuing with a blank app.

I tried using npx --yes @flydotio/dockerfile@latest to generate one, but the resulting Dockerfile doesn't work without modifications. Running fly deploy using that generated Dockerfile results in an app that can't run, I get this:

 WARNING The app is listening on the incorrect address and will not be reachable by fly-proxy.
You can fix this by configuring your app to listen on the following addresses:
  - 0.0.0.0:8080

It's not a major hurdle to get this working right, but thought I might flag this.

  • Operating system
  • fly version

fly v0.4.3 darwin/arm64 Commit: f58ce93 BuildDate: 2026-01-12T23:32:09Z

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions