This commit is contained in:
i18n-tribe 2025-06-01 18:49:18 -03:00 committed by GitHub
commit b369d8f15f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 10 additions and 2 deletions

View File

@ -55,7 +55,11 @@ class BuildApiMixin:
'{"stream":"Successfully built 032b8b2855fc\\n"}']
Args:
path (str): Path to the directory containing the Dockerfile
path (str): Path to the directory containing the Dockerfile.
Typically, the Dockerfile is a direct child of `path`,
but it can also be in a nested directory.
A copy of the `path` directory, excluding files specified
in `.dockerignore`, will be used as the build context.
fileobj: A file object to use as the Dockerfile. (Or a file-like
object)
tag (str): A tag to add to the final image

View File

@ -232,7 +232,11 @@ class ImageCollection(Collection):
low-level API.
Args:
path (str): Path to the directory containing the Dockerfile
path (str): Path to the directory containing the Dockerfile.
Typically, the Dockerfile is a direct child of `path`,
but it can also be in a nested directory.
A copy of the `path` directory, excluding files specified
in `.dockerignore`, will be used as the build context.
fileobj: A file object to use as the Dockerfile. (Or a file-like
object)
tag (str): A tag to add to the final image