Skip to content

wheels deploy init should generate a default Dockerfile #2673

Description

@zainforbjs

Describe the bug
wheels deploy init scaffolds config/deploy.yml and .kamal/secrets, but does not generate a Dockerfile. Without one, wheels deploy immediately fail at the build stage because there's no ./Dockerfile to build from. New users following the init → setup workflow hit a confusing dead end.

To Reproduce
Steps to reproduce the behavior:

  1. Run Command
wheels deploy init
  1. Observe the output.

Expected behavior
Add a Dockerfile.mustache template to cli/lucli/templates/deploy/init/ that scaffolds a production-appropriate Dockerfile for Wheels apps.

Desktop:

  • OS: macOS
  • Version: Wheels 4.0.0 (development)

Additional context
The old 3.x wheels docker init command (cli/src/commands/wheels/docker/init.cfc) does generate a Dockerfile. The new LuCLI 4.0.0 deploy init doesn't.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions