Skip to content

Latest commit

 

History

History
63 lines (43 loc) · 1.39 KB

README.md

File metadata and controls

63 lines (43 loc) · 1.39 KB

Angular Container

pipeline status

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.

Requirements

  • Docker

How to run

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/

Available Containers:

  • Base Image
  • CI Image
  • Dev Image

Contributors