Skip to content

Instantly share code, notes, and snippets.

@donbobka
Created March 17, 2017 09:01
Show Gist options
  • Save donbobka/7930eecf3dbebd35493d1fedabcad4ce to your computer and use it in GitHub Desktop.
Save donbobka/7930eecf3dbebd35493d1fedabcad4ce to your computer and use it in GitHub Desktop.
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