geoHeil
04/27/2022, 9:04 AMdaniel
04/27/2022, 3:00 PMenvironment:
DAGSTER_CLI_API_GRPC_CONTAINER_CONTEXT: '{"docker": {"container_kwargs": {"volumes": ["/abs/repo.py:/opt/dagster/app/"] } } }'
and then that will ensure that any runs launched from that code will mount those volumes.
(there's also a --container-context argument to the dagster api grpc
command - the env var is just a way of programatically setting that argument)