docker run -v <local_project_full_path>:/app -p 80:4200 jcbjulio/angular-serve
10K+
This is a container that run a server for your angular project
First version of docker image to help run a angular project on a server, based on Angular CLI image.
You can find the image on docker cloud ready to use: jcbjulio/angular-serve (source)
docker run -v <local_project_full_path>:/app -p 80:4200 jcbjulio/angular-serve
docker run -v ~/angularProjects/my-app:/app -p 80:4200 jcbjulio/angular-serve
This will mount your project (which should be allready installed) inside the container at location /app and run the server using it.
The server will run inside the docker on port 4200 and will expose to a choosen port when you run the container.
In our example above it will be accessable on the por 80 on your local computer.
To use manually the angular-cli, you can use this base image.
To use it just to npm install an already created project for angular, you can use this especific image.
Content type
Image
Digest
Size
309.5 MB
Last updated
almost 9 years ago
docker pull jcbjulio/angular-serve