16 lines
279 B
Markdown
16 lines
279 B
Markdown
|
### docker-compose 部署教程
|
||
|
- 将打包好的前端文件放到 `nginx/html` 目录下
|
||
|
- ```shell
|
||
|
# 打包启动
|
||
|
docker-compose build
|
||
|
docker-compose up -d
|
||
|
```
|
||
|
- ```shell
|
||
|
# 查看运行状态
|
||
|
docker ps
|
||
|
```
|
||
|
- ```shell
|
||
|
# 结束运行
|
||
|
docker-compose down
|
||
|
```
|