Skip to content

Instantly share code, notes, and snippets.

@awatson1978
Forked from Maxim-Filimonov/Dockerfile
Last active August 29, 2015 14:19
Show Gist options
  • Save awatson1978/b824582de04335cd3d6d to your computer and use it in GitHub Desktop.
Save awatson1978/b824582de04335cd3d6d 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