Created
April 11, 2015 19:14
-
-
Save DVG/ae38b9049efc772ee200 to your computer and use it in GitHub Desktop.
Docker
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: bin/rails server --port 3000 --binding 0.0.0.0 | |
ports: | |
- "5000:5000" | |
volumes: | |
- .:/code | |
links: | |
- db | |
db: | |
image: wnameless/oracle-xe-11g | |
ports: | |
- "49160:22" | |
- "49161:1521" |
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.1 | |
RUN apt-get update -qq && apt-get install -y build-essential | |
RUN apt-get install -y libxml2-dev libxslt1-dev | |
RUN apt-get install -y libqt4-webkit libqt4-dev xvfb | |
RUN apt-get install -y nodejs | |
ENV APP_HOME /code | |
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