title | category |
---|---|
Dockerfile |
Devops |
FROM ruby:2.2.2
ENV APP_HOME /myapp
RUN mkdir $APP_HOME
RUN bundle install
WORKDIR /myapp
ONBUILD RUN bundle install # when used with another file
EXPOSE 5900
CMD ["bundle", "exec", "rails", "server"]