Created
February 2, 2017 15:51
-
-
Save silvioq/87b20bf6799875f878f7906964cb1098 to your computer and use it in GitHub Desktop.
Helpme ... dockerfile para sharetribe
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.3.1 | |
RUN apt-get update -qq && apt-get install -y \ | |
build-essential \ | |
libpq-dev \ | |
&& rm -rf /var/lib/apt/lists/* | |
RUN gem install bundler | |
RUN curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.0/install.sh | bash \ | |
&& export NVM_DIR="$HOME/.nvm" \ | |
&& [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm \ | |
&& nvm install 6.9 | |
ENV NVM_DIR=$HOME/.nvm | |
RUN mkdir /app | |
WORKDIR /app | |
ADD Gemfile /app | |
ADD Gemfile.lock /app | |
RUN bundle install | |
# RUN git clone git://github.com/sharetribe/sharetribe.git \ | |
# && cd sharetribe \ | |
# && git checkout latest | |
# VOLUME /usr/app | |
# RUN bundle install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment