Convox base image for Ruby
FROM convox/ruby
# copy only the files needed for bundle install
COPY Gemfile /app/Gemfile
COPY Gemfile.lock /app/Gemfile.lock
RUN bundle install
# copy the rest of the app
COPY . /app
Application using this image should:
- Copy their source files into
/app
None
Base Image: ubuntu:16.04
build-essential
ruby-dev
ruby
bundler