Skip to content

Commit

Permalink
Change heroku deployment to use the dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
axelpontetto committed Jul 8, 2024
1 parent c9754a5 commit 01b6c84
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@
/public/assets
/spec/tmp
/storage
/tmp
/tmp/*
/tmp/pids/*
!/tmp/pids/
!/tmp/pids/.keep
/vendor/bundle
/yarn-error.log
capybara-*.html
Expand Down
13 changes: 13 additions & 0 deletions heroku.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
setup:
addons:
- plan: heroku-postgresql
as: DATABASE
build:
docker:
web: Dockerfile
run:
web: bundle exec puma -C config/puma.rb
worker:
command:
- ./bin/delayed_job start
image: web
Empty file added tmp/pids/.keep
Empty file.

0 comments on commit 01b6c84

Please sign in to comment.