Skip to content

Commit

Permalink
Merge pull request #2 from hathitrust/dockerfile_rackup
Browse files Browse the repository at this point in the history
Call rackup explicitly in Dockerfile.prod CMD
  • Loading branch information
moseshll authored Oct 30, 2023
2 parents 2b7a7ff + a861474 commit d33cbd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile.prod
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ ENV APP_ENV production
RUN bundle install
COPY --chown=$UID:$GID . /usr/src/app

CMD ["bundle", "exec", "ruby", "lib/rights_api/app.rb", "-o", "0.0.0.0"]
CMD ["bundle", "exec", "rackup", "-p", "4567", "-o", "0.0.0.0"]

0 comments on commit d33cbd3

Please sign in to comment.