Created
January 30, 2018 09:14
-
-
Save lisovskyvlad/5a61925a856fc7c91ce944a2349fc980 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 starefossen/ruby-node:2-8 | |
LABEL maintainer="Lisovskii Vladislav (a@a.de)" | |
RUN apt-get update -qq && apt-get install -y build-essential libpq-dev | |
ENV APP_HOME /sw-app | |
RUN mkdir $APP_HOME | |
WORKDIR $APP_HOME | |
COPY Gemfile $APP_HOME/Gemfile | |
COPY Gemfile.lock $APP_HOME/Gemfile.lock | |
ENV BUNDLE_GEMFILE=$APP_HOME/Gemfile \ | |
BUNDLE_JOBS=2 | |
RUN bundle install | |
COPY . $APP_HOME |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment