Created
July 20, 2018 16:08
-
-
Save ngw/65ea7a8a66a34878475e5c3bc8941702 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
FROM ruby:2.5.1 | |
MAINTAINER Nicholas Wieland "ngw@utelier.com" | |
RUN apt-get update && apt-get install -qq -y build-essential libpq-dev postgresql-client curl apt-transport-https imagemagick --fix-missing --no-install-recommends | |
RUN curl -sL https://deb.nodesource.com/setup_8.x | bash - | |
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - | |
RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list | |
RUN apt-get update && apt-get install -y nodejs yarn | |
RUN bundle config --global frozen 1 | |
WORKDIR /usr/src/app | |
COPY Gemfile Gemfile.lock ./ | |
RUN bundle install | |
COPY . . | |
RUN yarn install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment