thesuhu/docker-node-oracle-nodemon

By thesuhu

Updated about 3 years ago

Docker images used to create containers ready with Node.js, Oracle Client and Nodemon.

Image
Web Servers
0

89

docker-node-oracle-nodemon

GitHub workflowDocker pulllicense

Docker images used to create containers ready with Node.js, Oracle Client and Nodemon. This docker image is recommended for development only. For production use docker-node-oracle-pm2 instead.

Usage

Just run the following command to run the container:

docker run -d -t -p <host port>:<your app port> -v <your app host dir>:/usr/src/myapp --name <your container name> thesuhu/docker-node-oracle-nodemon:{VERSION}

Specify the Node.js version you will use in the above {VERSION}. Node.js version 14 is available.

Example

docker run -d -t -p 3000:3000 -v /home/thesuhu/helloworld:/usr/src/myapp --name backend thesuhu/docker-node-oracle-nodemon:14

Once the container is running, open a terminal inside the container and run npm i. Finally, use nodemon to start your application. The application automatically restart every time there is a change in the host directory

License

MIT

Docker Pull Command

docker pull thesuhu/docker-node-oracle-nodemon