fix: docker部署及脚本备份。

This commit is contained in:
tianyongbao
2024-05-13 17:57:56 +08:00
parent 447b943c3c
commit 1b34c44984
21 changed files with 300 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
#!/bin/sh
docker rm -f nginxtest
docker rmi nginxtest:1.0.0
cd /mnt/data/invest/nginxtest
docker build -t nginxtest:1.0.0 .
docker run -di --name nginxtest -p 88:80 nginxtest:1.0.0