@@ -2,7 +2,9 @@ pipeline {
agent {
dockerfile {
filename 'Dockerfile'
- additionalBuildArgs '-p 80:80 --registry-mirror=https://registry.docker-cn.com daemon'
+ additionalBuildArgs '--registry-mirror=https://registry.docker-cn.com daemon'
+ customWorkspace '/usr/bi-web'
+ arg '-p 80:80'
}
stages {
@@ -5,7 +5,7 @@ server {
listen 80;
server_name 192.168.253.189;
access_log /var/log/nginx/fuck.log;
- root ;
+ root /usr/bi-web;
index index.html index.htm;
location / {