1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
FROM docker.io/ruby:3.4-alpine RUN apk add --no-cache \ postgresql-dev \ build-base \ tzdata WORKDIR /app COPY Gemfile ./ RUN bundle install COPY . . CMD ["ruby", "test_connection.rb"]