github.com/rohankumardubey/draft-classic@v0.16.0/packs/ruby/Dockerfile (about)

     1  FROM ruby
     2  ENV PORT 3000
     3  EXPOSE 3000
     4  RUN bundle config --global frozen 1
     5  
     6  WORKDIR /usr/src/app
     7  
     8  COPY Gemfile Gemfile.lock ./
     9  RUN bundle install
    10  
    11  COPY . .
    12  CMD ["ruby", "app.rb"]