Public Repository

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description
FROM ruby:2.1.2

# create app root
RUN mkdir -p /app
WORKDIR /app

# install nodejs
RUN curl http://nodejs.org/dist/v0.10.31/node-v0.10.31-linux-x64.tar.gz | tar -xz -C /usr --strip-components 1

# install Gemfile first for caching
ONBUILD ADD Gemfile /app/Gemfile
ONBUILD ADD Gemfile.lock /app/Gemfile.lock
ONBUILD RUN bundle install

# listener port
ONBUILD ENV PORT 3000
ONBUILD EXPOSE 3000

CMD rails server
Docker Pull Command
Owner
ddollar

Comments (0)