Skip to content

schempy/docker-nodejs-unbaked

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Using Node.js and Docker with host volumes

Directory Structure

api/
	package.json
	server/
		index.js
		routes/
			widget.js
docker/
	Dockerfile
	start.sh
scripts/
	nodejs.sh

The api/server directory contains the Node.js server entry point file and the **api/server/routes directory contains routing for the application end-points.

The docker directory contains the Dockerfile used to create a Docker image. It also contains a script that the Docker image will run.

The scripts directory contains a bash shell script to run the Node.js Docker container.

For more details about the example checkout this article.

About

Node.js server running in a Docker container that has a volume mounted to a host folder

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published