Sign inSign up

danlynn/ember-cli

By danlynn

•Updated 2 months ago

ember-cli 7.1.0 + node 24.18.0/26.5.0 + bower 1.8.8 + chrome 150.0.7871.128 + watchman 4.9.0

Image
Languages & frameworks
Developer tools
54

500K+

danlynn/ember-cli repository overview

ember-cli logo

This image contains everything you need to have a working development environment for ember-cli. The container's working dir is /myapp so that you can setup a volume mapping your project dir to /myapp in the container. (MIT License⁠)

stars pulls automated MIT License

ember-cli 7.1.0 + node 24.18.0/26.5.0 + npm 11.16.0/11.17.0 + bower 1.8.8 + yarn 1.22.22/none + chrome 150.0.7871.128 + watchman 4.9.0

Click here to see older versions

This image was originally based on: geoffreyd/ember-cli⁠ (hat tip)

⁠Example Ember Octane app using docker-compose

ember octane quick start guide tutorial

This example runs through the Quick Start⁠ ember octane guide tutorial. It follows the Quick Start instructions at ember-cli-docker-compose-template⁠ for using the danlynn/ember-cli⁠ docker image with docker-compose.

Click here⁠ to view the video full-size and with playback controls.

⁠Change to launching ember-cli server in 6.8.0+

The regular ember server command has been replaced with npm start -- --host 0.0.0.0 in ember-cli 6.8.0. Therefore, you will need to update your usage and launch scripts to use the new npm start command.

⁠How to use

The absolutely easiest way to use this ember-cli docker image is to use docker-compose. I've put together a git repo that contains a stub ember-cli docker-compose template⁠ project that makes this a snap! Full details of the optimized docker-compose environment for developing ember-cli project can be found in that repo's README⁠.

Basically, it creates a new project directory with the following files:

ember-project
  docker-compose.yml
  README-template.md
  bash
  ember
  serve

The docker-compose.yml is configured to use this danlynn/ember-cli⁠ docker image from dockerhub and looks like this:

version: '2'

services:
  ember:
    image: danlynn/ember-cli:latest
    volumes:
      - .:/myapp
      - .bash_history:/root/.bash_history
      - node_modules:/myapp/node_modules
    tmpfs:
      - /myapp/tmp
    ports:
      - "4200:4200"
      - "7020:7020"
      - "7357:7357"

volumes:
  node_modules:

The bash, ember, and serve commands are shortcuts⁠ for performing the most common ember dev tasks.

⁠Quick start instructions:

Copy and run the following 3 lines in your terminal to create a new ember app named 'ember-project' and then host it on http://locahost:4200⁠:

$ proj_dir='ember-project' && curl -Ls https://github.com/danlynn/ember-cli-docker-compose-template/archive/master.zip > "$proj_dir.zip" && unzip -qq -j "$proj_dir.zip" -d "$proj_dir" && rm "$proj_dir.zip" && cd "$proj_dir" && mv README.md README-template.md && ls -l
$ ./ember init
$ ./serve

Replace the "ember-project" at the beginning with the na

Tag summary

Content type

Image

Digest

sha256:447d36030…

Size

757.8 MB

Last updated

2 months ago

docker pull danlynn/ember-cli