Created
March 17, 2017 09:01
-
-
Save donbobka/7930eecf3dbebd35493d1fedabcad4ce to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ruby:2.4.0 | |
ENV APP_HOME /app | |
ENV HOME /root | |
RUN mkdir $APP_HOME | |
WORKDIR $APP_HOME | |
COPY Gemfile* $APP_HOME/ | |
RUN bundle install | |
# Upload source | |
COPY . $APP_HOME | |
EXPOSE 3000 | |
CMD bundle exec rackup -p 3000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment