# syntax=docker/dockerfile:1 FROM ruby:3.2 WORKDIR /app COPY Gemfile /app/Gemfile # Add a script to be executed every time the container starts. COPY entrypoint.sh /usr/bin/ RUN chmod +x /usr/bin/entrypoint.sh ENTRYPOINT ["entrypoint.sh"] EXPOSE 4000 # Configure the main process to run when running the image