7 lines
297 B
Bash
7 lines
297 B
Bash
|
|
#! /bin/bash
|
||
|
|
## author:liuzl
|
||
|
|
cp ./docker/nginx/vhost/hccz.conf /var/jenkins_home/nginx/conf
|
||
|
|
#docker stop hccz
|
||
|
|
#docker rm hccz
|
||
|
|
docker build -t hccz:v1 .
|
||
|
|
docker run -d -v /etc/timezone:/etc/timezone -v /etc/localtime:/etc/localtime -p 8085:80 --restart=unless-stopped --net=mynet --name=hccz hccz:v1
|