https://dagster.io/ logo
Title
m

Max

03/07/2022, 7:14 AM
what's the recommended strategy to build a dagit container with a single workspace and a single repo? My current setup is •
DAGSTER_HOME=/opt/dagster/dagster_home
. Copy the dagster.yml there (works just fine) • workdir is
/opt/dagster/app
. I copy all my files there, including
/opt/dagster/app/my_project/repository.py
and the
workspace.yaml
in the root • my workspace contains
python_file: relative_path: my_project/repository.py
. This loads correctly when I run
dagit
locally but not in docker (
module my_project was not found
) What's the best practice there to make sure that the import works?
nvm the second I asked that I figured out that I copied the folder's content not the folder itself