Sign inSign up

fahrenheit9/angular-app

By fahrenheit9

•Updated about 4 years ago

Deploy your Angular app easily, with any context path if needed

Image
1

1.1K

fahrenheit9/angular-app repository overview

This Docker image facilitates the deployment of Angular apps. You can easily customize the context path of the application with the environment variable CONTEXT_PATH if needed (example: deployment of different app behind a reverse proxy on the same domain name)

You can easily deploy your app with the following command:

With custom context path:

docker run --name angular-app -p 8008:80 \
	-e CONTEXT_PATH="/my-custom-context/" \
	-v /home/docker/my-angular-app:/usr/share/nginx/html:ro \
	-d fahrenheit9/angular-app

Without custom context path:

docker run --name angular-app -p 8008:80 \
	-v /home/docker/my-angular-app:/usr/share/nginx/html:ro \
	-d fahrenheit9/angular-app

Github Repository⁠

Tag summary

Content type

Image

Digest

sha256:2cc3c9936…

Size

13.1 MB

Last updated

about 4 years ago

docker pull fahrenheit9/angular-app