Question · NestJS course · Module 12: Containers and CI/CD

Review: .env priority in a container

If ConfigModule has envFilePath: ['.env.local', '.env.development', '.env'], which file has the highest priority?

Answer options

  • .env
  • .env.development
  • .env.local
  • All have the same priority

You can check the correct answer by solving this task in the CodeWorlds game.