billowy-crowd-24646
10/11/2023, 6:08 PM.env
- When inspecting the sandbox, I notice Pants is not copying the .env
file. I there a way for force this copy, my application depends on it, and I would like to avoid renaming the file - as there are other apps depending on thiscurved-television-6568
10/11/2023, 6:31 PMfile(name="env-file", source=".env")
and then your docker image needs to pull that in with: docker_image(.., dependencies=[":env-file"])
then it will exist in your docker build context. Adjust names etc as needed.happy-kitchen-89482
10/12/2023, 9:21 PMbillowy-crowd-24646
10/13/2023, 1:54 AMbillowy-crowd-24646
10/13/2023, 1:56 AMhappy-kitchen-89482
10/13/2023, 9:42 PM