-
-
Save blackrobot/451d7c26f0fef639d5b836b19ad5b270 to your computer and use it in GitHub Desktop.
Dockerfile
This file contains hidden or 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 | |
RUN apt-get update && apt-get install --no-install-recommends -y \ | |
build-essential \ | |
nodejs \ | |
libpq-dev \ | |
libxml2-dev \ | |
libxslt1-dev \ | |
libqt4-webkit \ | |
libqt4-dev \ | |
xvfb \ | |
&& rm -rf /var/lib/apt/lists/* \ | |
&& apt-get autoremove -y | |
RUN mkdir -p /app | |
WORKDIR /app | |
COPY Gemfile /app/ | |
COPY Gemfile.lock /app/ | |
RUN bundle install -j 4 | |
COPY . ./ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment