Node 14.15.0, and Angular CLI 10.2.0 Based on the node buster.
Find the image here
Pulling the image
docker pull orbisgloria/angular-cli
Using the image in a Dockerfile
FROM orbisgloria/angular-cli
Change to the directory where the new project will be located.
$ cd /path/to/project/
$ docker run --rm -v ${PWD}:/app orbisgloria/angular-cli \
ng new app --directory ./ --style scss --skip-git
Install project dependencies.
$ docker run --rm -v ${PWD}:/app orbisgloria/angular-cli npm install
Run with docker-compose.
version: "3"
services:
app:
image: orbisgloria/angular-cli
ports:
- "8080:4200"
volumes:
- ".:/app"
command: ng serve --host 0.0.0.0
P.s. make sure to set host as 0.0.0.0.
Content type
Image
Digest
Size
349.3 MB
Last updated
almost 6 years ago
docker pull orbisgloria/angular-cli