perminder-klair
4/24/2015 - 10:38 AM

Dockerfile

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
# Base image. Add anything unusual you need for your app here
FROM danieldent/meteor:1.0.4.1
# 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