Build docker image for Angular application.
To build image run this command (change the tag name & version with your preferred tag name & version).
$ docker build . -t myorganization/myimage:1.0.0
To create a container from the image, run this command (change the tag name & version with your preferred tag name & version).
$ docker run -d -p 3000:3000 --name angular-app myorganization/myimage:1.0.0
Then you can access the app from the browser with this url: http://127.0.0.1:3000
This repository is proven by running build in Dockerhub, you can see the result here.
Content type
Image
Digest
Size
224.9 MB
Last updated
over 5 years ago
docker pull namikazebadri/angular-app