Skip to content

Instantly share code, notes, and snippets.

@lisovskyvlad
Created January 30, 2018 09:14
Show Gist options
  • Save lisovskyvlad/5a61925a856fc7c91ce944a2349fc980 to your computer and use it in GitHub Desktop.
Save lisovskyvlad/5a61925a856fc7c91ce944a2349fc980 to your computer and use it in GitHub Desktop.
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