Created
May 5, 2016 16:45
-
-
Save ncherro/b44db40ddd0906effd94032811e9d5d8 to your computer and use it in GitHub Desktop.
Dockerfile
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 | |
RUN apt-get update && apt-get install -y \ | |
build-essential \ | |
nodejs \ | |
libpq-dev \ | |
libxml2-dev \ | |
libxslt1-dev \ | |
libqt4-webkit \ | |
libqt4-dev \ | |
xvfb | |
RUN mkdir -p /app | |
WORKDIR /app | |
ADD Gemfile Gemfile.lock ./ | |
RUN gem install bundler && bundle install -j 4 | |
ADD . ./ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment