-
-
Save adam12/7613ae85f5e5bf3c28a8ed8a4e826273 to your computer and use it in GitHub Desktop.
Ruby Dockerfile
This file contains 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.7 | |
RUN bundle config --global frozen 1 | |
WORKDIR /usr/src/app | |
COPY Gemfile Gemfile.lock ./ | |
RUN bundle install | |
COPY . . | |
EXPOSE 9292 | |
CMD ["rackup", "-o", "0.0.0.0", "-p", "9292"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment