You don't need to install Node JS and Nest JS on your machine. Just clone this repo, and you can create nestjs project inside the docker container.
This docker using Node version v17.5.0
and npm version v8.4.1
.
To run this docker container, just type ./docker-run.sh
it will start your container.
$./docker-run.sh
$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
a15ec2a78277 nodejs_nodejs "tail -f /dev/null" a minute ago Up 1 minute node-js
$ docker exec -it ${CONTAINER_ID} sh
~ # nest new your-project-name
- Author - Michael Kojansow