Skip to content

0x0dr1y/vitepress-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Docker Image Version (latest semver) Docker Image Size (latest by date) Docker Pulls

vitepress-docker

Docker image for local Vitepress editing or to be run within a CI pipeline.

Installation

git clone https://github.com/MrDeerly/vitepress-docker.git
docker build -t mrdeerly/vitepress .

or

docker pull mrdeerly/vitepress

Usage

cd /path/to/your/vitepress/installation

export VITEPRESS_DOCKER_PORT="3000"
export VITEPRESS_DOCKER_MOUNT="-v $(CURDIR):/app"
export VITEPRESS_DOCKER_OPTS="--rm $(VITEPRESS_DOCKER_MOUNT)"

docker run $(VITEPRESS_DOCKER_OPTS) -p $(VITEPRESS_DOCKER_PORT):3000 mrdeerly/vitepress

This will start the vitepress devserver on port 3000.

About

Docker image for local Vitepress editing or to be run within a CI pipeline. https://hub.docker.com/r/mrdeerly/vitepress

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published