Skip to content

Add Support for Environment Variables During Dockerfile Build Process in Dokploy #227

@valentingavran

Description

@valentingavran

What problem will this feature address?

Currently, Dokploy provides environment variables only to the final Docker image, but they should also be available during the build phase for the Dockerfile

Describe the solution you'd like

The already available environment variables should be available during the Docker build process to the Dockerfile as well as to the final Docker image.

Describe alternatives you've considered

I've considered committing a .env file to the repository, but this is not a secure option. Another workaround could be to manually pass the environment variables during the Docker build command, but this is not ideal for automated deployment processes.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    Released

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions