Skip to content

Instantly share code, notes, and snippets.

@silvioq
Created February 2, 2017 15:51
Show Gist options
  • Save silvioq/87b20bf6799875f878f7906964cb1098 to your computer and use it in GitHub Desktop.
Save silvioq/87b20bf6799875f878f7906964cb1098 to your computer and use it in GitHub Desktop.
Helpme ... dockerfile para sharetribe
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