Skip to content

Instantly share code, notes, and snippets.

@ncherro
Created May 5, 2016 16:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save ncherro/b44db40ddd0906effd94032811e9d5d8 to your computer and use it in GitHub Desktop.
Save ncherro/b44db40ddd0906effd94032811e9d5d8 to your computer and use it in GitHub Desktop.
Dockerfile
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