Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# A simple Dockerfile for a RoR application
FROM ruby:2.3.1
RUN apt-get update -qq && apt-get install -y build-essential libpq-dev nodejs
RUN mkdir /your-applicatioin
WORKDIR /your-application
ADD Gemfile /your-application/Gemfile
ADD Gemfile.lock /your-application/Gemfile.lock
RUN bundle install
ADD . /your-application
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.