Issues information
- OS: Rails
- databases: postgres
- Programming language and version: ruby
Hello,
After deploying my dockerized rails app, I get the following message:
“Blocked host: XXXXXXX.numa.sh
To allow requests to XXXXXXX.numa.sh make sure it is a valid hostname”
Could you help me? I think it has something to do with environment variables
Dockerfile content (if any)
# syntax=docker/dockerfile:1
FROM ruby:3.0.3
RUN apt-get update -qq && apt-get install -y nodejs postgresql-client
WORKDIR /myapp
COPY Gemfile Gemfile
COPY Gemfile.lock Gemfile.lock
RUN bundle install
COPY . .
EXPOSE 3000
# Configure the main process to run when running the image
CMD ["rails", "server", "-b", "0.0.0.0", "-p", "3000"]