Skip to content

.env file is generated in dockerfile directory #3231

@Qbason

Description

@Qbason

To Reproduce

I have dockerfile in my repo in path ./ci/dockerfile.

Image

Current vs. Expected behavior

For example my NextJS app needs .env file in main directory. I thought that this is the place where .env will be generated.

Image

Maybe the describtion should mention that .env will be generated where dockerfile is placed?
From my perspective .env file should be place in the same path like Docker Context Path. It's more predictable for me but who knows 😄

Btw. This feature (to generate .env) is a really good idea. Thanks a lot :)

Provide environment information

Version: v0.26.1

Which area(s) are affected? (Select all that apply)

Application

Are you deploying the applications where Dokploy is installed or on a remote server?

Same server where Dokploy is installed

Additional context

No response

Will you send a PR to fix it?

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions