To run this container use the below commands. Only Dockerfile and docker-compose.yml are of use Note Pull the image docker pull avinash465/ubuntu-nodejs-app Create a container and run the image docker run -it -e PORT_NO -p PORT1:PORT2 avinash465/ubuntu-nodejs-app