3 ms·
> So the best practice is only placing files and directories that you need to add to image under current directory. You can create a .dockerignore file and exc
by politelemon 5y ago
> So the best practice is only placing files and directories that you need to add to image under current directory.
You can create a .dockerignore file and exclude large files or file types from being included in the context. Especially useful in data-munging heavy projects where large inputs/outputs are used.
See: https://docs.docker.com/engine/reference/builder/#dockerignore-file https://docs.docker.com/engine/reference/builder/#dockerigno...