- Save the Dockerfile locally
- Build docker image:
docker build -t rootlessrpms .
- Have some NodeJS code ready to run
- eg: git clone github.com/nodeshift-starters/nodejs-health-check
- Run the image:
docker run -ti --rm -v $(pwd)/nodejs-health-check:/code -p 8080:8080 rootlessrpms