Skip to content

Clarify what chef needs in the build context #299

@michaelbeaumont

Description

@michaelbeaumont

In the example Dockerfile we see multiple:

COPY . .

Can it be clarified what's actually needed by chef here? It doesn't seem to need target, for example, right?

Can we just put

COPY Cargo.toml Cargo.lock ./
COPY src ./src

in the example or otherwise include a minimal .dockerignore?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions