A playground for Docker with Angular.
- Cloning the repo
$ git clone https://github.com/robertoachar/docker-angular.git
- Installing dependencies
$ npm install
- Running scripts
Action | Usage |
---|---|
Starting development mode | npm start |
Linting code | npm run lint |
Running unit tests | npm test |
Running e2e tests | npm run e2e |
Build | npm run build |
- Building an image
$ docker-compose build
- Running a container
$ docker-compose up
- Stopping a container
$ docker-compose down