This repository contains Dockerfiles and related resources for building and running documentation websites for various projects. Each subdirectory corresponds to a specific project and contains the necessary Dockerfile and other resources.
react-cn-docs/
- Contains the Dockerfile for building the React Chinese documentation site.
- GitHub Repository: React Chinese Docs
react-flow/
- Contains the Dockerfile for building the React Flow documentation site.
- GitHub Repository: React Flow
react-hook-form/
- Contains the Dockerfile for building the React Hook Form documentation site.
- GitHub Repository: React Hook Form Docs
shadcn-ui-docs/
- Contains the Dockerfile for building the ShadCN UI documentation site.
- GitHub Repository: ShadCN UI
tailwindcss-docs/
- Contains the Dockerfile for building the TailwindCSS documentation site.
- GitHub Repository: TailwindCSS Docs
tanstack/
- Contains the Dockerfile for building the TanStack documentation site.
- GitHub Repository: TanStack
lucide-icon-docs/
- Contains the Dockerfile for building the Lucide Icon documentation site.
- GitHub Repository: Lucide Icons
vitejs/
- Contains the Dockerfile for building the Vite Chinese documentation site.
- GitHub Repository: Vite Chinese Docs
Each directory contains a Dockerfile
that can be used to build and run the corresponding documentation site. Below are the general steps to use the Dockerfiles:
- Navigate to the directory of the project you want to build.
- Build the Docker image:
docker build -t <image-name> .
- Run the Docker container:
docker run -p <host-port>:<container-port> <image-name>
Replace <image-name>
, <host-port>
, and <container-port>
with appropriate values.
To build and run the TailwindCSS documentation site:
cd tailwindcss-docs
docker build -t tailwindcss-docs .
docker run -p 3000:3000 tailwindcss-docs
- Ensure Docker is installed and running on your system.
- Some projects may require additional dependencies or configurations. Refer to the respective
Dockerfile
for details.
This repository is licensed under the MIT License. See the LICENSE file for more details.