Dockerfile 201 B

123456789101112131415
  1. FROM ruby:2.7
  2. RUN apt-get update && apt-get install --yes \
  3. libssl-dev
  4. WORKDIR /bot
  5. # Install gems
  6. ADD Gemfile Gemfile.lock ./
  7. RUN bundle install
  8. # Copy our source code
  9. COPY . .
  10. CMD ["bin/bot"]