/docker-volta

Dockerfile for development with Volta

Primary LanguageDockerfileMIT LicenseMIT

docker-volta

Dockerfile for development in Node.js using Volta, a JavaScript tool manager

Description

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.

Base image

debian:bullseye-slim

Additional packages

  • curl
  • git
  • git-lfs
  • make
  • volta

Note In addition, my dotfiles are included in the layers of the image.

Usage

Build image

docker build -t s3igo/volta .

Run container

docker run --rm -it s3igo/volta

Example

docker compose -f example/compose.yaml run --rm --service-ports volta

License

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.