We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6d172f commit f9f1702Copy full SHA for f9f1702
Dockerfile
@@ -7,18 +7,17 @@
7
#
8
# 注意:vite构建需要支持node14以上,安装node16较为稳妥
9
10
-FROM registry.cn-hangzhou.aliyuncs.com/142vip/node:16.20.2-alpine AS build_base
+FROM registry.cn-hangzhou.aliyuncs.com/142vip/node:18.18.0-alpine AS build_base
11
12
ARG CONTAINER_BUILD
13
## 确定工作空间 /apps
14
WORKDIR /apps
15
COPY . .
16
17
-# RUN echo $CONTAINER_BUILD
18
19
## 基于容器自动构建
20
RUN if [ "$CONTAINER_BUILD" = "true" ]; then \
21
- ./scripts/ci && pnpm build; \
+ sh ./scripts/ci && pnpm build; \
22
fi;
23
24
FROM registry.cn-hangzhou.aliyuncs.com/142vip/nginx:1.23.0-alpine
0 commit comments