Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/robert-96/ember-js-docker
- Owner: Robert-96
- License: mit
- Created: 2019-11-07T19:02:49.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-11-28T21:41:53.000Z (about 2 years ago)
- Last Synced: 2024-11-29T04:28:03.571Z (2 months ago)
- Topics: docker, dockerfile, ember, ember-cli, javascript, node
- Language: Dockerfile
- Homepage: https://hub.docker.com/r/robert96/ember-js
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.20COPY . /ember-app
WORKDIR /ember-appRUN 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/.