-
Bug
-
Resolution: Done
-
Undefined
-
None
-
None
-
False
-
-
False
-
-
-
DP Sprint 27
[3959348390] Upstream Reporter: smoparth
Upstream issue status: Closed
Upstream description:
The current `.dockerignore` excludes version control, CI, docs, and IDE files. We can also ignore the following to reduce the build context which will keep the build caches effective and reduce the build time.
Path What it is Size impact ------ ----------- ------------- `tests/` Pytest test suite Small, but unnecessary `.tox/` tox virtualenvs and caches *Can be 100s of MB* if tox has been run locally `pyproject.toml` Python project config (for linting/tests, not the image) Tiny `tox.ini` tox configuration Tiny `.hadolint.yaml` Hadolint linter config Tiny `*.egg-info/` Python egg-info from editable installs Small `_pycache_/` Python bytecode caches Small `renovate.json` Renovate bot config Tiny
- links to