Get .env file value as variable

Hello guys,
I’m create a terraform project using docker provider, it’s actually just convert from a docker-compose file to terraform config. The docker-compose file get data from a .env file as variable to use. How to i do it in terraform config ?
Thanks