Created
July 11, 2016 20:00
-
-
Save iwaffles/85a1561657fe4954e8144caf2d76fa99 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.2.2 | |
RUN apt-get update -qq && apt-get install -y build-essential libpq-dev | |
# for a JS runtime | |
RUN apt-get install -y nodejs | |
RUN mkdir /app | |
WORKDIR /app | |
ADD Gemfile /app/Gemfile | |
RUN bundle install | |
ADD . /app |
ekristen
commented
Jul 11, 2016
•
FROM ruby:2.2.2
WORKDIR /app
RUN \
apt-get update -qq && \
apt-get install -y build-essential libpq-dev nodejs && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
ADD Gemfile /app/Gemfile
RUN bundle install
ADD . /app```
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment