Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 783 Bytes

README.md

File metadata and controls

26 lines (18 loc) · 783 Bytes

🐳 Nodemon Docker

Node.js local development on docker container and nodemon

You don't need to install Node.js or npm on your machine to develop Node.js, just using only Docker

Start developing on local machine

Before you begin, you need to make sure you have installed Docker Desktop

Start project, run

docker-compose up

In case if you want to use npm or Node.js commands.

docker-compose run --rm app <YOUR-DESIRED-COMMAND>

ex. docker-compose run app npm install jest --save

If you want to re-build the container please stop the current one and run the following command below.

docker-compose up --build