Commit 532872f1 authored by Gakki's avatar Gakki

Merge branch 'huangpu' of...

Merge branch 'huangpu' of ssh://git.omniview.pro:256/fangdi/housemanage/web/majorproject into huangpu
parents f9de02e5 b37fc63b
FROM 10.0.6.228:5000/node-nginx:8.12.0-slim FROM 10.0.6.228:5000/node-nginx:8.12.0-slim
WORKDIR /app WORKDIR /app
COPY . /app/ COPY . /app/
RUN npm config set proxy=http://10.0.6.228:3128 && npm set registry https://registry.npm.taobao.org && npm install && npm run build:xuhui-sit && cp -r dist/* /var/www/html && cp nginx.conf /etc/nginx/conf.d && rm -rf /etc/nginx/sites-enabled && rm -rf /app RUN npm config set proxy=http://10.0.6.228:3128 && npm set registry https://registry.npm.taobao.org && npm install && npm run build:huangpu-sit && cp -r dist/* /var/www/html && cp nginx.conf /etc/nginx/conf.d && rm -rf /etc/nginx/sites-enabled && rm -rf /app
...@@ -8,9 +8,9 @@ pipeline { ...@@ -8,9 +8,9 @@ pipeline {
environment { environment {
KUBECONFIG_CREDENTIAL_ID = 'devops-kubeconfig' KUBECONFIG_CREDENTIAL_ID = 'devops-kubeconfig'
REGISTRY = '10.0.6.228:5000' REGISTRY = '10.0.6.228:5000'
DOCKERHUB_NAMESPACE = 'house-manage-xh' DOCKERHUB_NAMESPACE = 'house-manage-hp'
APP_NAME = 'web-main' APP_NAME = 'web-main'
NAMESPACE = 'house-manage-xh' NAMESPACE = 'house-manage-hp'
} }
stages { stages {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment