# production/staging Dockerfile

FROM ruby:2.3.4
RUN gem install bundler --version 1.14

WORKDIR /app
COPY Gemfile Gemfile.lock /app/
RUN bundle config build.nokogiri --use-system-libraries && \
    bundle install --deployment --without=development test

ADD docker/app.tar.bz2 /app/

CMD ["/app/bin/update"]
