Skip to content

Instantly share code, notes, and snippets.

@jbaxleyiii
Forked from Maxim-Filimonov/Dockerfile
Last active August 29, 2015 14:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jbaxleyiii/6c1917db3a02164a3721 to your computer and use it in GitHub Desktop.
Save jbaxleyiii/6c1917db3a02164a3721 to your computer and use it in GitHub Desktop.
mongo:
image: mongo:2.6.4
ports:
- "27017"
volumes:
- ./data:/data
command: mongod --smallfiles
web:
build: .
ports:
- "80:3000"
volumes:
# Presume that Magic folder is mounted
- ./app/:/app
environment:
- MONGO_URL=mongodb://mongo:27017/app
- ROOT_URL=http://docker.local
links:
- mongo
# User for local dev
FROM app/base
RUN npm install -g orion-cli
# This forces package-catalog update. Should speed up further runs
RUN meteor show meteor-platform
# Base image. Add anything unusual you need for your app here
FROM danieldent/meteor:1.0.4.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment