Created
April 5, 2017 20:16
-
-
Save thnery/6a1b7b704bb4488b0192db6e80358e00 to your computer and use it in GitHub Desktop.
dockerfile sample
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
FROM ruby:2.3.1 | |
RUN apt-get update -qq && apt-get install -y build-essential | |
RUN apt-get install -y libpq-dev | |
RUN apt-get install -y ghostscript | |
RUN mkdir /app | |
WORKDIR /app | |
ADD Gemfile /app/Gemfile | |
ADD Gemfile.lock /app/Gemfile.lock | |
RUN bundle install | |
ADD . /app | |
RUN mkdir -p log && \ | |
mkdir -p tmp/cache \ | |
mkdir -p tmp/pids \ | |
mkdir -p tmp/sessions \ | |
mkdir -p tmp/sockets |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment