More Related Content
Similar to Ruby on Docker (20)
Ruby on Docker
- 24. $ cat Dockerfile
FROM ubuntu:16.04
RUN apt-get install ruby nodejs
WORKDIR /app
ENV PORT 5000
COPY Gemfile Gemfile.lock /app
RUN bundle install
COPY . /app
CMD rails server -p 5000