🦄ConsulManager:基于Consul的运维平台:更优雅的Consul管理UI & 多云ECS等资源自动同步Prometheus/JumpServer & Blackbox站点监控维护 & 漏洞通知/资源到期余额告警...
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

11 lines
411 B

FROM node:14-alpine AS builder
ADD . /vue
WORKDIR /vue
RUN mv -f src/views/login/index.vue.tensuns src/views/login/index.vue && \
mv -f src/settings.js.tensuns src/settings.js && \
npm install --registry=https://registry.npm.taobao.org && npm run build:prod
FROM nginx:stable-alpine
WORKDIR /www
COPY --from=builder /vue/http-ops.conf /etc/nginx/conf.d/default.conf
COPY --from=builder /vue/dist dist/