puma/tools/Dockerfile

17 lines
342 B
Docker

# Use this Dockerfile to create minimal reproductions of issues
FROM ruby:3.1
# throw errors if Gemfile has been modified since Gemfile.lock
RUN bundle config --global frozen 1
WORKDIR /usr/src/app
COPY . .
RUN gem install bundler
RUN bundle install
RUN bundle exec rake compile
EXPOSE 9292
CMD bundle exec bin/puma test/rackup/hello.ru