We will use two containers, one for client App and another for the API. We need to one Dockerfile per application and one docker-compose.yml file to link the containers.
docker-compose build
docker-compose up
Go to: http://localhost:4000
docker login
docker tag name username/container-name
docker push username/container-name
docker tag noteboard-api emaraschio/noteboard-api:latest
docker push emaraschio/noteboard-api:latest
docker tag noteboard-api emaraschio/noteboard-api:v1
docker push emaraschio/noteboard-api:v1
docker tag noteboard-client emaraschio/noteboard-client:latest
docker push emaraschio/noteboard-client:latest
docker tag noteboard-client emaraschio/noteboard-client:v3
docker push emaraschio/noteboard-client:v3
For more information -> https://docs.docker.com/