Last active
August 29, 2015 14:25
-
-
Save erithmetic/bf39003112ca9fe03ad8 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
myservice: | |
volumes: | |
- myservice:/app | |
- /var/lib/docker/gems:/usr/local/bundle | |
environment: | |
RAILS_ENV: development | |
myservicetest: | |
volumes: | |
- myservice:/app | |
- /var/lib/docker/gems:/usr/local/bundle | |
environment: | |
RAILS_ENV: test |
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.1.5 | |
WORKDIR /app | |
ADD Gemfile /app/Gemfile | |
ADD Gemfile.lock /app/Gemfile.lock | |
RUN bundle | |
ADD . /app | |
EXPOSE 5000 | |
CMD rails s -p 5000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment