Skip to content

Instantly share code, notes, and snippets.

@guiltry
Created June 7, 2015 17:03
Show Gist options
  • Save guiltry/30dcae95a4fce9a603f6 to your computer and use it in GitHub Desktop.
Save guiltry/30dcae95a4fce9a603f6 to your computer and use it in GitHub Desktop.
FROM ruby:2.1.2
RUN apt-get update -qq
RUN apt-get install -y debian-keyring debian-archive-keyring
RUN apt-key update
RUN apt-get install -y build-essential qt5-default libqt5webkit5-dev xvfb
RUN mkdir /myapp
WORKDIR /tmp
COPY Gemfile Gemfile
COPY Gemfile.lock Gemfile.lock
RUN bundle install
ADD . /myapp
WORKDIR /myapp
CMD ["rails","s"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment