Skip to content

Commit

Permalink
fix: procfile web process for DBT
Browse files Browse the repository at this point in the history
  • Loading branch information
aamircodes authored and dbt-gs committed Jan 23, 2025
1 parent 54dd016 commit 1cda9f4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .copilot/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
repository: export-opportunities
builder:
name: paketobuildpacks/builder-jammy-full
version: 0.3.397
version: 0.3.397
2 changes: 2 additions & 0 deletions .copilot/image_build_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ set -e

rm ./config/application.yml

cp -r /workspace/db/ /workspace/db-copy/

rm -rf /workspace/tmp
rm -rf /workspace/db
rm -rf /workspace/log
2 changes: 1 addition & 1 deletion Procfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
web: bundle exec rake cf:on_first_instance db:migrate && bundle exec puma -p ${PORT:-3000}
app: bundle exec rake cf:on_first_instance db:migrate && bundle exec rails assets:precompile && bundle exec puma -p ${PORT:-3000}
app: cp -r /workspace/db-copy/* /workspace/db/ && bundle exec rake cf:on_first_instance db:migrate && bundle exec rails assets:precompile && bundle exec puma -p ${PORT:-3000}
worker: bin/start-stunnel bundle exec sidekiq -C config/sidekiq.yml

0 comments on commit 1cda9f4

Please sign in to comment.