Olivier Dupuis
02/07/2023, 3:49 PMDBT_PROJECT_DIR = dp_data_warehouse.__path__[0]
my_assets = with_resources(
load_assets_from_dbt_project(
project_dir = DBT_PROJECT_DIR,
profiles_dir = DBT_PROJECT_DIR,
key_prefix = ["data_warehouse"],
use_build_command = True
),
resource_defs = {
"dbt": dbt_cli_resource.configured(
{
"project_dir": DBT_PROJECT_DIR,
"profiles_dir": DBT_PROJECT_DIR,
},
),
},
)
No such file or directory: '/Users/olivierdupuis/Git/discursus/platform/discursus_data_platform/dp_data_warehouse/data/fips_country.csv'
That’s the file that needs to be seeded. For some reason, it still looks for that file in a path that is relevant to my local machine, but not the container.
Am I misunderstanding how seeding data with dbt within a Docker image works?
Thanks for any help!owen
02/08/2023, 7:35 PM