Skip to content

Instantly share code, notes, and snippets.

@netodevel
Created June 11, 2017 14:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save netodevel/b791a07e7623fbba5aee84166cd3547b to your computer and use it in GitHub Desktop.
Save netodevel/b791a07e7623fbba5aee84166cd3547b to your computer and use it in GitHub Desktop.
# 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