提交 322fc980 作者: 龚洪江

Merge remote-tracking branch 'origin/develop' into develop

......@@ -10,6 +10,7 @@ RUN npm run build
# nginx
FROM nginx:alpine as production
VOLUME ["/var/log/nginx/"]
ENV NODE_ENV production
# Set working directory to nginx asset directory
COPY --from=builder /app/dist /usr/share/nginx/html
......
......@@ -18,9 +18,16 @@ spec:
containers:
- name: admin
image: REGISTRY/NAMESPACE/IMAGE:TAG
volumeMounts:
- name: log-of-nginx
mountPath: /var/log/nginx
resources:
limits:
memory: 512Mi
cpu: 100m
ports:
- containerPort: 80
volumes:
- name: log-of-nginx
hostPath:
path: /var/log/nginx
......@@ -14,4 +14,4 @@ patches:
images:
- name: REGISTRY/NAMESPACE/IMAGE:TAG
newName: mmc-registry.cn-shenzhen.cr.aliyuncs.com/sharefly-dev/admin
newTag: 6851eb63dc36d80358308873d2419644719a80bb
newTag: 626a3cf26ce739cd319c7fb17c66efad8c4c8b3e
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论