Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wxh16144/antd-docker-docs
Docker 构建 ant.design 文档
https://github.com/wxh16144/antd-docker-docs
antd docker
Last synced: 23 days ago
JSON representation
Docker 构建 ant.design 文档
- Host: GitHub
- URL: https://github.com/wxh16144/antd-docker-docs
- Owner: Wxh16144
- Created: 2022-07-16T08:17:34.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-07T11:01:46.000Z (8 months ago)
- Last Synced: 2024-10-04T06:41:13.902Z (about 1 month ago)
- Topics: antd, docker
- Language: Shell
- Homepage: https://hub.docker.com/r/wxh16144/antd
- Size: 29.3 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# antd-docker-docs
> 使用 Docker 运行 [ant.design](https://ant.design/) 官方文档。
## Usage
```bash
docker run --rm -dp 8088:80 --name ant-design-site wxh16144/antd# docker stop ant-design-site # 停止站点
```or
```bash
git clone https://github.com/wxh16144/antd-docker-docs \
&& cd antd-docker-docs \
&& docker-compose up -d# docker-compose down # 停止站点
```稍等片刻后,使用浏览器打开 [http://127.0.0.1:8088](http://127.0.0.1:8088) 即可访问
## Build Image
```bash
build -t wxh16144/antd:[TagName] --build-arg TAG=[TagName] . # ← 注意这里有个 "."
```## Why
- 开发中需要查阅[官方文档](https://ant.design/)和示例组件,偶尔会出现 ~~网络不稳定~~。可以试试 [Gitee 镜像](https://ant-design.gitee.io/) 、[官方镜像](https://ant-design.antgroup.com/)。
- 学习使用,不做任何商业或其他目的。