actually, do this intead

This commit is contained in:
Andrew Brown 2023-05-03 10:52:44 -07:00
parent fb7d68b307
commit 314f1f984a
2 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@ RUN bundle install && \
# This image should expose port 80.
EXPOSE 80/tcp
EXPOSE 3000/tcp
# Finally, start the server using Puma!
CMD bundle exec puma -C config/puma.rb -e ${RAILS_ENV} -b tcp://0.0.0.0:80

View File

@ -11,7 +11,7 @@ threads threads_count, threads_count
# Specifies the `port` that Puma will listen on to receive requests; default is 3000.
#
port ENV.fetch("PORT") { 80 }
port ENV.fetch("PORT") { 3000 }
# Specifies the `environment` that Puma will run in.
#