Created
January 7, 2015 08:44
-
-
Save shingara/2a0dc4345be0f7c7ae2a to your computer and use it in GitHub Desktop.
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.1 | |
RUN apt-get update -qq && apt-get install -y build-essential libpq-dev libxslt-dev libxml2-dev nodejs postgresql-client npm nodejs-legacy | |
RUN mkdir /comparsport | |
WORKDIR /comparsport | |
ADD Gemfile /comparsport/Gemfile | |
ADD Gemfile.lock /comparsport/Gemfile.lock | |
RUN bundle install | |
## Install javascript dependencies | |
ADD bower.json /comparsport/bower.json | |
RUN npm install -g bower | |
RUN bower install --allow-root | |
ADD . /comparsport |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment