Update README.md

在docker中编译的步骤
This commit is contained in:
forhuan 2017-04-05 13:43:36 +08:00 committed by GitHub
parent c4a53516fd
commit fda4411f93

View File

@ -1,6 +1,6 @@
# TUNA mirrors 主页
## 运行 Demo
### 直接编译
本站使用 Jekyll 编写,并使用 babel 编译 ECMAScript6因此必须安装 ruby >= 2.0 和 nodejs.
@ -9,6 +9,13 @@ bundle install
jekyll build
```
### Build In Docker
```
cd mirror-web
docker build -t builden -f Dockerfile.build .
docker run -it -v /path/to/mirror-web/:/data builden
```
为正常运行,一些动态数据文件需要下载
```