1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00
puma--puma/tools/Dockerfile
Patrik Ragnarsson 4bfdbb736d
Use Ruby 3.1 in our Dockerfile (#2802)
Ruby 2.6 reaches EoL soon.

[ci skip]
2022-01-17 22:47:16 +01:00

16 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