Add package manager and common tools to node environment
1.0K
This repository contains Dockerfile of node in ubuntu
These instructions will get you to build node in your docker. See Installation for notes on how to build your node on your are live system.
/var/www to build your projectdocker run -itd --name node -v {your directory}:/var/www -p 3000:3000 bananabb/node
docker exec -it node /bin/bash
node -v
npm --version
/create-express.sh
npm start
/create-nestjs.sh
nest new {YourProject}
# React
npx create-react-app example
cd {YourProject}
npm start
/create-react-library.sh
npx create-react-library your-app-name
cd {your-app-name}
npm start
# Testing
cd example
npm start
Open http://localhost:3000/ in your browser of choice
Now you can enjoy your coding in your container.
MIT © BananaBb
Content type
Image
Digest
sha256:87737910e…
Size
375.9 MB
Last updated
6 months ago
docker pull bananabb/node