- docker
- Create a docker network
docker network create pfa
- creater a node js docker image
docker build -t marcelowis/pfa-node .
- creater a nginx docker image
docker build -t marcelowis/pfa-nginx .
- run the container with name nodecontainer
docker run -d --network=pfa --name=nodecontainer marcelowis/pfa-node
- run the container with name nodecontainer
docker run -d --network=pfa -p 8080:80 marcelowis/pfa-nginx