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
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -391,6 +391,7 @@ source_path = [
391
391
}, {
392
392
path = "src/python3.8-app1",
393
393
pip_requirements = true,
394
+
pip_tmp_dir = "/tmp/dir/location"
394
395
prefix_in_zip = "foo/bar1",
395
396
}, {
396
397
path = "src/python3.8-app2",
@@ -442,6 +443,7 @@ Few notes:
442
443
-`commands` - List of commands to run. If specified, this argument overrides `pip_requirements`.
443
444
-`:zip [source] [destination]` is a special command which creates content of current working directory (first argument) and places it inside of path (second argument).
444
445
-`pip_requirements` - Controls whether to execute `pip install`. Set to `false` to disable this feature, `true` to run `pip install` with `requirements.txt` found in `path`. Or set to another filename which you want to use instead.
446
+
-`pip_tmp_dir` - Set the base directory to make the temporary directory for pip installs. Can be useful for Docker in Docker builds.
445
447
-`prefix_in_zip` - If specified, will be used as a prefix inside zip-archive. By default, everything installs into the root of zip-archive.
# Create zip-archive of a single directory where "pip install" will also be executed (default for python runtime) and set temporary directory for pip install
0 commit comments