Note that the documentation is automatically generated from envd/api folder in tensorchord/envd repo. Please update the python file there instead of directly editing file inside envd-docs repo.
Enable v1 by adding
# syntax=v1 to the 1st line of your envd file.
v1 is experimental and may change in the future. Make sure to freeze the envd version for online CI/CD.
def copy(host_path: str, envd_path: str)
Copy from host path to container path (build time)
host_pathstr - source path in the host machine
envd_pathstr - destination path in the envd container
def http(url: str, checksum: Optional[str], filename: Optional[str])
Download file with HTTP to
urlstr - URL
checksumOptional[str] - checksum for the downloaded file
filenameOptional[str] - rewrite the filename