Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ RUN bundle install --without deployment deploy --jobs 20 --retry 5
COPY . /upaya

EXPOSE 3000
CMD ["rails", "server", "-b", "0.0.0.0"]
CMD ["rackup", "config.ru", "--host", "0.0.0.0", "--port", "3000"]
2 changes: 1 addition & 1 deletion Procfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
web: bundle exec rails server -p ${PORT:-3000}
web: bundle exec rackup config.ru --port ${PORT:-3000}
worker: bundle exec sidekiq --config config/sidekiq.yml
mail: bundle exec mailcatcher -f
2 changes: 2 additions & 0 deletions config.ru
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,6 @@
STDOUT.sync = true

require ::File.expand_path('../config/environment', __FILE__)

use Rack::ContentLength
run Rails.application