Skip to content

Instantly share code, notes, and snippets.

@yanhaeffner
Last active September 20, 2021 16:46
Show Gist options
  • Save yanhaeffner/bb62979e2033365f0b11e665beca2619 to your computer and use it in GitHub Desktop.
Save yanhaeffner/bb62979e2033365f0b11e665beca2619 to your computer and use it in GitHub Desktop.
Necessary folder structure in order to containerize a DBT project
Dockerfile
requirements.txt
dbt/
├── analysis/
├── data/
├── macros/
├── models/ # Should contain your model structure and the project definition ".yml" file
└── schema.yml
└── customers.sql
└── stg_customers.sql
└── stg_orders.sql
├── profile/ # Should contain the necessary "profiles.yml" file to run your project
└── profiles.yml
└── bigquery-keyfile.json
├── snapshots/
├── tests/
├── target/ # Should contain the "manifest.json" file obtained with "dbt docs generate"
└── manifest.json
├── README.md
└── dbt_project.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment