Skip to content

Commit

Permalink
Heroku requires a PORT
Browse files Browse the repository at this point in the history
  • Loading branch information
nbudin committed Sep 8, 2023
1 parent ec6a095 commit 74fc595
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ RUN useradd rails --create-home --shell /bin/bash
USER rails:rails

EXPOSE 3000
CMD ["bundle", "exec", "rails", "server", "-b", "0.0.0.0"]
CMD bundle exec rails server -b 0.0.0.0 -p $PORT

0 comments on commit 74fc595

Please sign in to comment.