frostblooded

Dockerfile

Apr 22nd, 2018
241
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. FROM ruby:2.3.1
  2.  
  3. RUN apt-get update
  4. RUN apt-get install -y --no-install-recommends postgresql-client nodejs
  5. RUN rm -rf /var/lib/apt/lists/*
  6.  
  7. WORKDIR /usr/src/app
  8. COPY Gemfile* ./
  9. RUN bundle install
  10. COPY . .
  11.  
  12. EXPOSE 3000
  13. CMD ["rails", "server", "-b", "0.0.0.0"]
Advertisement
Add Comment
Please, Sign In to add comment