Docker Environment File in Image not found by Decouple

so i've been trying to deploy a Django App using Docker, but I can't successfully make it work.

Here's the error i'm encountering: error

I'm using Decouple to manage Environment Files and "broker_url" is a variable inside the .env

When I try reading the .env file from the file that accesses it, it's able to print it properly

-- here is the code for printing the content of the env code for printing .env content

-- here is the content of the log printed in logs

-- here is the list of all the files in the directory files available in the directory

what do i do to make Decouple see that the .env has the 'broker_url' variable?

Back to Top