Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/robert-96/ember-js-docker

Docker images for EmberJs.
https://github.com/robert-96/ember-js-docker

docker dockerfile ember ember-cli javascript node

Last synced: 2 days ago
JSON representation

Docker images for EmberJs.

Awesome Lists containing this project

README

        

# ember-js-docker

Docker images for EmberJs.

## Supported tags and respective `Dockerfile` links

* [`latest`, `3.25` (Dockerfile)](https://github.com/Robert-96/ember-js-docker/blob/master/latest/Dockerfile)
* [`3.24` (Dockerfile)](https://github.com/Robert-96/ember-js-docker/blob/master/version/Dockerfile)
* [`3.23` (Dockerfile)](https://github.com/Robert-96/ember-js-docker/blob/master/version/Dockerfile)
* [`3.22` (Dockerfile)](https://github.com/Robert-96/ember-js-docker/blob/master/version/Dockerfile)
* [`3.21` (Dockerfile)](https://github.com/Robert-96/ember-js-docker/blob/master/version/Dockerfile)
* [`3.20` (Dockerfile)](https://github.com/Robert-96/ember-js-docker/blob/master/version/Dockerfile)
* [`3.19` (Dockerfile)](https://github.com/Robert-96/ember-js-docker/blob/master/version/Dockerfile)
* [`3.18` (Dockerfile)](https://github.com/Robert-96/ember-js-docker/blob/master/version/Dockerfile)
* [`3.17` (Dockerfile)](https://github.com/Robert-96/ember-js-docker/blob/master/version/Dockerfile)
* [`3.16` (Dockerfile)](https://github.com/Robert-96/ember-js-docker/blob/master/version/Dockerfile)
* [`3.15` (Dockerfile)](https://github.com/Robert-96/ember-js-docker/blob/master/version/Dockerfile)
* [`3.14` (Dockerfile)](https://github.com/Robert-96/ember-js-docker/blob/master/version/Dockerfile)
* [`3.13` (Dockerfile)](https://github.com/Robert-96/ember-js-docker/blob/master/version/Dockerfile)
* [`3.12` (Dockerfile)](https://github.com/Robert-96/ember-js-docker/blob/master/version/Dockerfile)
* [`3.11` (Dockerfile)](https://github.com/Robert-96/ember-js-docker/blob/master/version/Dockerfile)
* [`3.10` (Dockerfile)](https://github.com/Robert-96/ember-js-docker/blob/master/version/Dockerfile)
* [`3.9` (Dockerfile)](https://github.com/Robert-96/ember-js-docker/blob/master/version/Dockerfile)
* [`3.8` (Dockerfile)](https://github.com/Robert-96/ember-js-docker/blob/master/version/Dockerfile)

## How to use this image

This image installs EmberJs and Chrome facilitating testing, running and building EmberJs applications.

### Create a `Dockerfile` in your project

Add the following `Dockerfile` to your project:

```
FROM robert96/ember-js:3.20

COPY . /ember-app
WORKDIR /ember-app

RUN npm install
CMD ember serve
```

And the following `.dockerignore`:

```
# compiled output
/dist/
/tmp/

# dependencies
/bower_components/
/node_modules/

# misc
/.pnp*
/.sass-cache
/connect.lock
/coverage/
/libpeerconnection.log
/npm-debug.log*
/testem.log
/yarn-error.log

# ember-try
/.node_modules.ember-try/
/bower.json.ember-try
/package.json.ember-try
```

Then, run the commands to build and run the Docker image:

```
$ docker build -t my-ember-app .
$ docker run --name my-running-ember-app -p 4200:4200 my-ember-app
```

Visit http://localhost:4200/.