Skip to content

Improve CLI error handling for missing Dockerfile/path #4189

@chronark

Description

@chronark

Deploy failed with a 500 and an unhelpful message:

[500 Internal] build failed: internal: build failed: failed to solve: failed to read dockerfile: open Dockerfile: no such file or directory

This occurred when the Dockerfile path was wrong and also in a case without a Dockerfile. Error handling should catch this earlier and return a clear, actionable message.

image.png

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