feat: 增加docker支持。

操作手册写于Readme,参照执行docker
This commit is contained in:
LOG1997
2024-12-28 14:19:59 +08:00
parent 3260211879
commit 2bb588d379
4 changed files with 56 additions and 1 deletions

View File

@@ -146,6 +146,22 @@ npm run build:file
> 项目思路来源于 <https://github.com/moshang-xc/lottery>
## Docker支持
构建镜像
```bash
docker build -t log-lottery .
```
运行容器
```bash
docker run -d -p 9279:80 log-lottery
```
容器运行成功后即可在本地通过<http://localhost:9279/log-lottery/>访问
## License
[MIT](http://opensource.org/licenses/MIT)