Complete the code to ignore all log files in the Docker build context.
*.[1]The .dockerignore file uses patterns similar to .gitignore. To ignore all log files, use *.log.
Complete the code to ignore the directory named 'temp' in the Docker build context.
[1]/To ignore a directory, write its name followed by a slash / in the .dockerignore file.
Fix the error in the .dockerignore pattern to ignore all files in the 'cache' folder.
cache[1]*To ignore all files inside the 'cache' directory, use cache/*. The slash / separates the directory name from the wildcard.
Fill both blanks to ignore all files with extension '.tmp' and the directory 'build' in the Docker build context.
[1] [2]/
Use *.tmp to ignore all temporary files and build/ to ignore the build directory.
Fill all three blanks to ignore files named 'secret.txt', all '.env' files, and the directory 'node_modules' in the Docker build context.
[1] [2] [3]/
To ignore a specific file, write its name. To ignore all files with an extension, use a wildcard pattern. To ignore a directory, write its name with a trailing slash.