Skip to content

Optimize Docker build caching for dependencies#7

Merged
metasmile merged 2 commits into
mainfrom
dockerignore-cache
May 29, 2026
Merged

Optimize Docker build caching for dependencies#7
metasmile merged 2 commits into
mainfrom
dockerignore-cache

Conversation

@metasmile

Copy link
Copy Markdown
Contributor

Restructure the Dockerfile to copy only pyproject.toml, README.md, and LICENSE first so dependency installation is cached separately from source code changes. Add .dockerignore to exclude test files, build artifacts, documentation cache, and other non-essential files from the Docker build context.

metasmile added 2 commits May 29, 2026 15:23
Restructure the Dockerfile to copy only `pyproject.toml`,
`README.md`, and `LICENSE` first so dependency installation is
cached separately from source code changes. Add `.dockerignore`
to exclude test files, build artifacts, documentation cache, and
other non-essential files from the Docker build context.
@metasmile metasmile merged commit 1aa204e into main May 29, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant