Skip to content

Commit

Permalink
Update Procfile to run unicorn
Browse files Browse the repository at this point in the history
  • Loading branch information
kevindew committed Feb 13, 2018
1 parent 59dba74 commit 25bc4b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ RUN GOVUK_APP_DOMAIN=www.gov.uk RAILS_ENV=production bundle exec rails assets:pr

HEALTHCHECK CMD curl --silent --fail localhost:$PORT || exit 1

CMD bash -c "rm -f tmp/pids/server.pid && bundle exec rails s -p $PORT -b '0.0.0.0'"
CMD bundle exec foreman run web
2 changes: 1 addition & 1 deletion Procfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
web: bundle exec rails s -p 3035
web: bundle exec unicorn -c ./config/unicorn.rb -p ${PORT:-3035}
worker: bundle exec sidekiq -C ./config/sidekiq.yml

0 comments on commit 25bc4b9

Please sign in to comment.