If you are checking this project on GitLab check also GitHub that is a mirror of this repo. But GitHub is used to deploy on DockerHub, using automated build.
- Docker
Main use of this container is to run angular tests or tasks on CI env. Otherwise you can use it to run angular server.
You can use this container as image on GitLab CI.
Example:
image: lorenzocalamandrei/angular-container:1.0.0-ci
...
Some Job:
image: lorenzocalamandrei/angular-container:1.0.0-ci
script:
- yarn
- yarn ci
artifacts:
...
Or with a Docker Compose.
Example:
version: "3.7"
services:
MyAngularContainer:
image: lorenzocalamandrei/angular-container:1.0.0-dev
ports:
- 8080:4200
volumes:
- ./:/var/www/html/
- Base Image
- CI Image
- Dev Image
- Lorenzo Calamandrei nexcal.dev@gmail.com