FROM ruby:3.2.2 WORKDIR /app COPY Gemfile Gemfile RUN bundle install COPY . /app CMD rails server -b 0.0.0.0 --log-to-stdout