Skip to content
Snippets Groups Projects
Forked from PortalMEC / portalmec
848 commits behind the upstream repository.
Dockerfile 246 B
FROM ruby:2.2.0
RUN apt-get update -qq && apt-get install -y build-essential nodejs

RUN mkdir /app

WORKDIR /tmp
COPY Gemfile Gemfile
COPY Gemfile.lock Gemfile.lock
RUN bundle install -j 3

WORKDIR /app

CMD ["rails", "server", "-b", "0.0.0.0"]