提交 ee9a3d5c 作者: 余乾开

feat(config):revert last commit

上级 b9c6886c
......@@ -11,6 +11,7 @@ RUN npm run build
# nginx
FROM nginx:alpine as production
VOLUME ["/var/log/nginx/"]
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone
ENV NODE_ENV production
# Set working directory to nginx asset directory
COPY --from=builder /app/dist /usr/share/nginx/html
......
......@@ -21,9 +21,6 @@ spec:
volumeMounts:
- name: log-of-nginx
mountPath: /var/log/nginx
- name: localtime
mountPath: /etc/localtime
readOnly: true
resources:
limits:
memory: 512Mi
......@@ -34,6 +31,3 @@ spec:
- name: log-of-nginx
hostPath:
path: /var/log/nginx
- name: localtime
hostPath:
path: /etc/localtime
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论