You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -109,6 +109,8 @@ PythonFunction(
109
109
- Use `bundling` to pass Docker environment variables, asset excludes, build args, command hooks, or a custom builder image.
110
110
- Set `bundling.buildArgs.BUNDLING_IMAGE` to swap the Python base image used by the default builder.
111
111
- Set `bundling.image` to provide a fully custom builder image.
112
+
-`bundling.volumes`, `bundling.volumesFrom`, `bundling.network`, and `bundling.securityOpt` are applied to the reusable builder container.
113
+
-`bundling.entrypoint`, `bundling.command`, `bundling.workingDirectory`, and `bundling.platform` are deprecated in this construct and will emit warnings if used.
112
114
- See [API.md](API.md) for the full API reference.
113
115
114
116
## Customizing The Builder Image
@@ -135,6 +137,12 @@ Alpine-based images.
135
137
136
138
If you need full control over the builder container, pass `bundling.image` instead. Custom images must include Python, `uv`, and the `/opt/uv-python-lambda` scripts expected by this library.
137
139
140
+
For the default builder container, this construct also supports a safe subset
141
+
of Docker run options: `volumes`, `volumesFrom`, `network`, and
142
+
`securityOpt`. Other generic Docker run options such as `entrypoint`,
143
+
`command`, `workingDirectory`, and `platform` do not fit the reusable
0 commit comments