Run or Develop an Angular app entirely on docker
-
Docker environment and docker-compose binaries installed.
-
Basic knowledge and understanding of Docker, Angular CLI and npm
docker run -v "/Volumes/JKelany/docker:/app" -d jkelany/ng:latest ng new ngtest this will create a project ngtest inside the volume
docker run --name ngtest -p 4200:4200 -e "NPM_INSTALL=true" -v "/Volumes/JKelany/docker/ngtest:/app" -d jkelany/ng:latest, this command has an environment variable NPM_INSTALL=true this mean it will run the npm install command before run the project to install the node_modules
- Mahmoud Kelany [email protected]
This project is licensed under the MIT License - see the LICENSE file for details