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
web: | |
build: ./ | |
command: bundle exec rails s -p 3000 -b '0.0.0.0' | |
volumes: | |
- .:/app | |
ports: | |
- "3000:3000" | |
links: | |
- db | |
db: |
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
web: | |
build: ./ | |
command: bundle exec rails s -p 3000 -b '0.0.0.0' | |
volumes: | |
- .:/app | |
ports: | |
- "3000:3000" |
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.2.3 | |
RUN \ | |
apt-get update -qq && \ | |
apt-get install -y build-essential | |
RUN mkdir app | |
WORKDIR app | |
COPY Gemfile ./ | |
RUN bundle install |
NewerOlder