Created
June 11, 2017 14:39
-
-
Save netodevel/b791a07e7623fbba5aee84166cd3547b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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