From 74fc59528fe4b112ea9087325bbd8fd9116e09a4 Mon Sep 17 00:00:00 2001 From: Nat Budin Date: Fri, 8 Sep 2023 11:02:43 -0700 Subject: [PATCH] Heroku requires a PORT --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 5727ed4..d4d514e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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