Check Dockerfile here https://github.com/Kin-Zhang/Kin-Zhang/blob/main/Dockerfiles/docusaurus.Dockerfile
Run to start container:
-v to your docusaurus folder, you can download the file codes here: https://github.com/facebook/docusaurus/releases-net=host all the port will be same as the host envdocker run -it --net=host -v /home/kin/Documents/Wiki/docusaurus-2.3.1:/docusaurus --name wiki_docs zhangkin/docusaurus /bin/zsh
inside the container run the yarn install and start the server
yarn install & npm start
After successfully build, you can open a browser and type http://0.0.0.0:3000/ to see the website now!
Content type
Image
Digest
sha256:a424f0a2c…
Size
469.4 MB
Last updated
over 3 years ago
docker pull zhangkin/docusaurus