Created
February 17, 2018 15:22
-
-
Save wayanjimmy/36878b8eb3ec1d60b464eb1d5e1bc402 to your computer and use it in GitHub Desktop.
Dockerfile rails dev
This file contains hidden or 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.5.0-alpine | |
RUN apk update && apk add nodejs build-base libxml2-dev libxslt-dev postgresql postgresql-dev | |
RUN mkdir /app | |
WORKDIR /app | |
COPY Gemfile ./Gemfile | |
COPY Gemfile.lock ./Gemfile.lock | |
RUN bundle install -j 20 | |
COPY . . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment