Created
February 20, 2020 23:15
-
-
Save veverkap/0efc63fe0eba5cdc727f0ace8018c7a1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ruby:2.6 | |
RUN apt install ffmpeg | |
# throw errors if Gemfile has been modified since Gemfile.lock | |
RUN bundle config --global frozen 1 | |
WORKDIR /usr/src/app | |
COPY Gemfile Gemfile.lock ./ | |
RUN gem install bundler | |
RUN bundle install | |
COPY main.rb config.ru downloader.rb ./ | |
CMD ["puma"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment