发布流程,在docker里面按步骤执行
1.git clone https://gitee.com/xxx.git (你的git代码)
2.cd git目录
3.docker build -t image_sample
4.docker run -d --name sample -p 5000:5000 -v /ect/localtime:/ect/localtime image_sample
1.git clone https://gitee.com/xxx.git (你的git代码)
2.cd git目录
3.docker build -t image_sample
4.docker run -d --name sample -p 5000:5000 -v /ect/localtime:/ect/localtime image_sample