Add comment explaining venv cleanup find command
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
d1b62a38d5
commit
b94792168b
1 changed files with 1 additions and 0 deletions
|
|
@ -32,6 +32,7 @@ async def build(src: dagger.Directory) -> dagger.Container:
|
|||
.with_file("/app/pyproject.toml", source.file("pyproject.toml"))
|
||||
.with_directory("/app/src", source.directory("src"))
|
||||
.with_exec([".venv/bin/pip", "install", "--no-cache-dir", "."])
|
||||
# Strip test dirs and bytecode from venv to shrink the image
|
||||
.with_exec(
|
||||
[
|
||||
"sh",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue