Sign inSign up

thesuhu/docker-node-oracle-nodemon

By thesuhu

Updated 11 months ago

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

Image
Web servers
0

527

thesuhu/docker-node-oracle-nodemon repository overview

docker-node-oracle-nodemon

GitHub workflow Docker pull license

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:{TAG}

Specify the image tag you will use in the above {TAG}. Available tags and their Node / Nodemon details are listed below.

Image TagNodeNodemon
latestv22.x (based on node:22)installed at build time (unpinned)
22v22.xinstalled at build time (unpinned)
14v14.xv6.x (historical)

Note: historically, tag 22 previously pointed to Node v14 with nodemon v6.x.

Example

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

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

Tag summary

Content type

Image

Digest

sha256:f6baa0574

Size

538.1 MB

Last updated

11 months ago

docker pull thesuhu/docker-node-oracle-nodemon