Simple angular/cli image using node:lts-alpine base
144
This small and simple image is designed to run and start with the development of your Angular application.
base image: node:lts-alpine
@angular/cli: 8.2.2
node: 10.16.2
npm: 6.9.0
os: linux x64
$ docker run -it --rm -p 4200:4200 -v $(pwd):/app katwaii/angular
Then use ng new and others @angular/cli commands.
Note: by default this image uses UID and GID 1000:1000 to avoid permission problems when writing outside the container.
If for some reason you cannot modify the files outside the container, use the following command:
$ docker run -it --rm -p 4200:4200 -v $(pwd):/app --user $(id -u):$(id -g) katwaii/angular
Content type
Image
Digest
Size
30.6 MB
Last updated
about 7 years ago
docker pull katwaii/angular