Files
CookLikeHOC/docker_support/README.md

25 lines
369 B
Markdown

# Docker 打包运行说明
## 环境依赖
- Docker
## 打包
```bash
docker build -t cooklikehoc:0.0.1 -f Dockerfile .
```
## 运行
```bash
docker run -d --name cooklikehoc \
-p 3001:80 \
-e HOST=0.0.0.0 \
cooklikehoc:0.0.1
# 浏览器访问 http://localhost:3001/
```
## 效果
![alt text](image.png)
![alt text](image-1.png)
![alt text](image-2.png)