If you have not cloned or downloaded the git repo, please run the command below.
- Navigate to Folder using command prompt or docker prompt(windows 7,8 user) where you copied the nodelinuximage.tgz
- Run below command to load the image to your system.
docker load < nodelinuximage.tgz
- Navigate to the angularclient folder.
- Create a file named as “DockerFile” without any extension inside the angularclient .
- Add content as shown below.
- Open command prompt or docker command prompt(windows 7,8 user)
- Navigate to the folder in the (docker)command prompt where the dockerfile was created.
- Run below command:
docker build -t angularclient .
docker run -it --rm -p 9001:4200 -v ${pwd}/src:/app/src angularclient
- Stop all containers:
docker stop $(docker ps -a -q)
No comments:
Post a Comment
Note: only a member of this blog may post a comment.