Skip to content

Docker container to run angular application. Main use to execute and test angular application on CI

License

Notifications You must be signed in to change notification settings

CalamandreiLorenzo/angular-docker

Repository files navigation

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

About

Docker container to run angular application. Main use to execute and test angular application on CI

Resources

License

Stars

Watchers

Forks

Packages

No packages published