Skip to content

Instantly share code, notes, and snippets.

@krtierney
Created September 19, 2017 17:19
Show Gist options
  • Save krtierney/dbf4b11525d4a6ad01cbee745bfc936f to your computer and use it in GitHub Desktop.
Save krtierney/dbf4b11525d4a6ad01cbee745bfc936f to your computer and use it in GitHub Desktop.
Working on Codeship config
FROM ruby:2.3.0
RUN apt-get update -qq && apt-get install -y build-essential \
libpq-dev \
postgresql-common postgresql-client \
nodejs
RUN mkdir /app
WORKDIR /app
ENV RAILS_ENV=test
COPY Gemfile /app/Gemfile
COPY Gemfile.lock /app/Gemfile.lock
RUN gem install bundler
RUN bundle install -j20 --without development production
ADD . /app
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment