Dockerfile for development in Node.js using Volta, a JavaScript tool manager
Volta is a tool manager written in Rust. It provides a fixed version of the node runtime and package manager by property of package.json. Please refer to the official guide for detailed instructions.
- curl
- git
- git-lfs
- make
- volta
Note In addition, my dotfiles are included in the layers of the image.
Build image
docker build -t s3igo/volta .
Run container
docker run --rm -it s3igo/volta
docker compose -f example/compose.yaml run --rm --service-ports volta
The MIT license applies to the Dockerfile and other source code, but the tools and binaries included in the resulting docker image generated by the Dockerfile are subject to their respective licenses.