- database: postgres
- Programming language and version: ruby 3.0
- Link to your project on Github/Gitlab: Private
I have issues with my rails app. I dockerized it and when I try to deploy it, I only get messages saying the app is booting and then exiting in the deployment logs.
I’m not sure if there is a way to see more logs, it’s hard to tell where the problem comes from at the moment. Any help or suggestion would be very appreciated
# 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"]