Max
03/07/2022, 7:14 AMDAGSTER_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?