1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00
puma--puma/tools/docker/Dockerfile
2019-09-19 13:43:42 +02:00

16 lines
342 B
Docker

# Use this Dockerfile to create minimal reproductions of issues
FROM ruby:2.6
# 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