@@ -11,7 +11,6 @@ FROM ubuntu
RUN apt-get update
RUN apt-get install nodejs nginx -y
RUN rm -v /etc/nginx/nginx.conf
-RUN mkdir /usr/bi-web
ADD nginx.conf /etc/nginx
EXPOSE 80
CMD service nginx start
@@ -2,7 +2,6 @@ pipeline {
agent {
dockerfile {
filename 'Dockerfile'
- customWorkspace '/usr/bi-web'
registryUrl 'https://registry.docker-cn.com'
args '-p 80:80'
}