Some checks failed
Build docker and publish / linux (1.24.5) (push) Failing after 15s
29 lines
660 B
Markdown
29 lines
660 B
Markdown
# mini-chat
|
||
|
||
## 接口文档
|
||
|
||
- 接口文档:http://127.0.0.1:9991/swagger/index.html
|
||
- 心跳检测:http://127.0.0.1:9991/system/health
|
||
|
||
## 服务地址
|
||
|
||
- https://mini-chat.1024tool.vip/swagger/index.html
|
||
|
||
## 打包命令
|
||
|
||
### MAC
|
||
```
|
||
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -ldflags "-s -w" -tags timetzdata -trimpath -o build/bindbox.exe .
|
||
```
|
||
|
||
|
||
export DOCKER_DEFAULT_PLATFORM=linux/amd64
|
||
docker build -t zfc931912343/bindbox-game:v1.10 .
|
||
docker push zfc931912343/bindbox-game:v1.10
|
||
|
||
docker pull zfc931912343/bindbox-game:v1.10 &&docker rm -f bindbox-game && docker run -d --name bindbox-game -p 9991:9991 zfc931912343/bindbox-game:v1.10
|
||
|
||
|
||
|
||
|