更新基础镜像,修复bug
parent
f36de9999e
commit
05be7144d7
|
@ -53,7 +53,7 @@ class Jms(Resource):
|
|||
count_on = count_on + 1
|
||||
cpu = int(i['cpu'].replace('核',''))
|
||||
count_cpu = count_cpu + cpu
|
||||
mem = int(i['mem'].replace('GB',''))
|
||||
mem = float(i['mem'].replace('GB',''))
|
||||
count_mem = count_mem + mem
|
||||
|
||||
jms_job = consul_kv.get_value(f"ConsulManager/jms/jobs/{vendor}/{account}")
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
FROM node:14-alpine AS builder
|
||||
ADD . /vue
|
||||
WORKDIR /vue
|
||||
RUN npm install --registry=https://registry.npm.taobao.org && npm run build:prod
|
||||
RUN npm install --registry=https://registry.npmmirror.com && npm run build:prod
|
||||
|
||||
FROM nginx:stable-alpine
|
||||
FROM nginx:1.24.0-alpine
|
||||
WORKDIR /www
|
||||
COPY --from=builder /vue/http-ops.conf /etc/nginx/conf.d/default.conf
|
||||
COPY --from=builder /vue/dist dist/
|
||||
|
|
Loading…
Reference in New Issue