Skip to content

No .dockerignore — build context includes .git, target/, and other unneeded files #11

Description

@abayomicornelius

There is no .dockerignore file in the repository root. Without one, docker build . sends the entire working directory (including .git/, any local target/ build artifacts, and .env) into the build context, slowing builds and risking accidental inclusion of secrets or large binaries in image layers.

Add a .dockerignore excluding target/, .git/, .env, and *.md.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions