Created
June 2, 2020 12:35
-
-
Save mrstebo/a464751412818b4d6bb6c36e227aa683 to your computer and use it in GitHub Desktop.
developing-ruby-rails-using-docker-windows-1
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.3.1 | |
| RUN apt-get update -qq && apt-get install -y build-essential | |
| # for postgres | |
| RUN apt-get install -y libpq-dev | |
| # for nokogiri | |
| RUN apt-get install -y libxml2-dev libxslt1-dev | |
| # for a JS runtime | |
| RUN apt-get install -y nodejs | |
| ENV APP_HOME /myapp | |
| RUN mkdir $APP_HOME | |
| WORKDIR $APP_HOME | |
| ADD Gemfile* $APP_HOME/ | |
| RUN bundle install | |
| ADD . $APP_HOME |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment