Skip to content

Commit

Permalink
DBT:n käynnistys
Browse files Browse the repository at this point in the history
  • Loading branch information
augustk committed Oct 8, 2024
1 parent 0d73a4c commit 92f8c45
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dbt-container/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ RUN \
bash install.sh && \
rm install.sh

ENTRYPOINT ["bash", "/root/run.sh"]
ENTRYPOINT ["bash", "/root/run.sh", ""]
2 changes: 2 additions & 0 deletions dbt-container/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,5 @@ cd dbt
python -m venv venv
. venv/bin/activate
pip install -r requirements.txt

dbt deps
2 changes: 2 additions & 0 deletions dbt-container/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,6 @@ ls -Al /root/dbt
cd dbt
. venv/bin/activate

dbt build --target=prod "$1"

exit 0

0 comments on commit 92f8c45

Please sign in to comment.