Skip to content

Instantly share code, notes, and snippets.

@xsota
Created October 11, 2016 07:02
Show Gist options
  • Save xsota/d0e4cdf0513842e691184390b521cf2e to your computer and use it in GitHub Desktop.
Save xsota/d0e4cdf0513842e691184390b521cf2e to your computer and use it in GitHub Desktop.
FROM ruby:2.2.0
RUN apt-get update -qq && apt-get install -y build-essential libpq-dev nodejs
RUN mkdir /myapp
WORKDIR /myapp
ADD Gemfile /myapp/Gemfile
ADD Gemfile.lock /myapp/Gemfile.lock
RUN bundle install
ADD . /myapp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment