Can a .env file contain build arguments?

Viewed 31

Can a Docker .env file contain variables like a docker-compose.yml file can?

In other words, can I do my_variable=${VARIABLE} in that file, or does it have to be within the environment section of the docker-compose.yml?

0 Answers
Related