Question from the Docker compose test

What is the purpose of the `args` directive in a `docker-compose.yml` file?

Easy

Examine the docker-compose.yml file below:

services:
  app:
    build:
      context: .
      args:
        ENV: development

What is the purpose of the args directive in this file?

Author: AxelStatus: PublishedQuestion passed 262 times
Edit
1
Community EvaluationsNo one has reviewed this question yet, be the first!