Question · NestJS course · Module 12: Containers and CI/CD
Review: The role of .dockerignore
What is the role of the .dockerignore file?
Answer options
- Defines environment variables for the container
- Configures the container network
- Prevents copying unnecessary files into the image
- Sets container memory limits
You can check the correct answer by solving this task in the CodeWorlds game.