Skip to content

Do not add .env.project and .env.vault to .dockerignore #327

@CamilleHbp

Description

@CamilleHbp

I do not embed dotenv files in my containers since the environment variables should be provided at container runtime, never at image build time.

Currently the CLI automatically modifies my .dockerignore files even if I don't want it too.

What is the reason for this behaviour? Could you remove this “feature” from the dotenv vault CLI, or at least make it toggleable using a setting? Unless it already is, then I apologies. 😅

Thank you very much for your work! 🙏

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