https://github.com/alexanderwolz/angular-docker
Docker Build Container for Angular CLI
https://github.com/alexanderwolz/angular-docker
angular angular-cli docker environment
Last synced: about 1 month ago
JSON representation
Docker Build Container for Angular CLI
- Host: GitHub
- URL: https://github.com/alexanderwolz/angular-docker
- Owner: alexanderwolz
- License: apache-2.0
- Created: 2023-05-19T12:23:06.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2025-11-04T05:34:27.000Z (7 months ago)
- Last Synced: 2025-11-04T07:14:31.475Z (7 months ago)
- Topics: angular, angular-cli, docker, environment
- Language: Shell
- Homepage:
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Build Container for Angular (Docker)






# About
This repository holds a Dockerfile to provide the needed toolchain for building Angular web applications.
# Environmental Setup
The Angular CLI is wrapped inside the Docker container and can be easily accessed using ```bash ng.sh```.
## Wrapping in an Alias
Adding an ```alias ng="bash myfolder/angular_builder/cmd.sh"``` to the environment profile (e.g. *~/.zshrc*), the Angular CLI can be used as if it is installed locally (also for node by calling ```ng npm```)
## Starting the Angular environment
Switch into the container by using ```bash ng.sh bash```.
## Running ng serve
Because ng serve does not bind to an open connection by default (as we need in a Docker container), we have to start the command with the *--host* flag: e.g. ```ng serve --host 0.0.0.0 --disable-host-check```