Commit 3382ca12 authored by 盛金强's avatar 盛金强

Update Dockerfile

parent f9364c52
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:devol && 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:xuhui-sit && cp -r dist/* /var/www/html && cp nginx.conf /etc/nginx/conf.d && rm -rf /etc/nginx/sites-enabled && rm -rf /app
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