Public Repository

Last pushed: 2 months ago
Short Description
Ember CLI development
Full Description

To use with docker-compose, create docker-compose.yml with the following:

version: '2'
volumes:
  node_modules:
  bower_components:
  tmp:
  dist:
services:
  cli:
    image: ntodd/ember-cli:latest
    volumes:
      - .:/app
      - node_modules:/app/node_modules
      - bower_components:/app/bower_components
      - tmp:/app/tmp
      - dist:/app/dist
    command: ember server --live-reload-port 35729
    ports:
      - "4200:4200"
      - "35729:35729"

Usage Notes

  • Mounting the named volumes speeds up ember-cli compilation around 4x on docker for mac
  • docker-compose up will start the development server. To run a command, use docker-compose run cli <command>:
    • docker-compose run cli npm install
    • docker-compose run cli ember build
Docker Pull Command
Owner
ntodd

Comments (0)