Created
August 26, 2015 15:58
-
-
Save krainboltgreene/64ea148e484b1e2b1524 to your computer and use it in GitHub Desktop.
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
AUTHOR "Kurtis Rainbolt-Greene <me@kurtisrainboltgreene.name>" | |
ISO boot2docker | |
MACHINE diffeng | |
CONTAINER web | |
FROM ubuntu:latest | |
APPLY ruby:latest | |
APPLY nodejs:latest | |
APPLY postgres-client:latest | |
LINK postgres:database | |
LINK redis:cache | |
ENV .env.web | |
SYNC .:/usr/src/app | |
RUN apt-get update && apt-get install -y qt-make imagemagik | |
RUN bundle install | |
RUN npm install | |
RUN bower install | |
EXPOSE 3000 | |
CMD ["bin/rails", "server"] | |
CONTAINER postgres:latest | |
CONTAINER redis:latest |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment