diff --git a/Dockerfile b/Dockerfile index a57d7be2c..ff3b4a32f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,6 +19,6 @@ ADD . $APP_HOME RUN GOVUK_WEBSITE_ROOT=https://www.gov.uk GOVUK_APP_DOMAIN=www.gov.uk RAILS_ENV=production bundle exec rails assets:precompile -HEALTHCHECK CMD curl --silent --fail localhost:$PORT/healthcheck || exit 1 +HEALTHCHECK CMD curl --silent --fail localhost:$PORT/healthcheck/ready || exit 1 CMD foreman run web diff --git a/config/routes.rb b/config/routes.rb index 54f6cafbd..c8f0cdb0f 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -8,11 +8,6 @@ mount GovukPublishingComponents::Engine, at: "/component-guide" - get "/healthcheck", - to: GovukHealthcheck.rack_response( - GovukHealthcheck::RailsCache, - ) - get "/healthcheck/live", to: proc { [200, {}, %w[OK]] } get "/healthcheck/ready", to: GovukHealthcheck.rack_response( GovukHealthcheck::RailsCache,