Image of frontend of Customer Store Mean Stack app developed in Angular-9.1.7 and Nodejs-12.18.
249
This is the Docker image of frontend of Customer Store Mean Stack app developed in Angular-9.1.7 and Nodejs-12.18.
Docker should be setup on your machine.
1- Create docker-compose file.
Get the docker-compose.yml file from my GitHub repo - https://github.com/sanjaysaini2000/mean-stack-application/blob/master/docker-compose.yml and save the content in docker-compose.yml on your machine.
2- Pull the images
Open the command terminal on the path of docker-compose.yml and run following command.
docker-compose pull
3- Start the app
Run following command to create/run the containers
docker-compose up -d
4- Now open the browser and type in the address bar http://host url:80
E.g. http://192.168.99.100:80
You have successfully host mean stack app in a docker container.
Note - your docker machine IP should be same. You can check by running "docker-machine IP" command.
5- To kill and remove the container run following command
docker-compose down
Content type
Image
Digest
Size
11.2 MB
Last updated
over 6 years ago
docker pull sanjaysaini2000/meanstack_frontend