Created
June 20, 2016 18:39
-
-
Save chorn/6998ceb23354d5ab417773a945ac8506 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.3.1 | |
MAINTAINER Chris Horn <chorn@chorn.com> | |
ENV DEBIAN_FRONTEND noninteractive | |
ENV DEBCONF_NONINTERACTIVE_SEEN true | |
RUN apt-get update -yqq | |
RUN apt-get upgrade -yqq | |
RUN apt-get install -yqq sudo less net-tools imagemagick | |
RUN rm -rf /var/lib/apt/lists/* | |
RUN gem install bundler --no-ri --no-rdoc | |
WORKDIR /app | |
ADD Gemfile /app/Gemfile | |
ADD Gemfile.lock /app/Gemfile.lock | |
RUN bundle install | |
ADD . /app | |
ENV RAILS_ENV development | |
CMD ["bundle", "exec", "rackup"] | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment