优化
This commit is contained in:
+1
-1
@@ -16,7 +16,7 @@ RUN pnpm config set registry https://registry.npmmirror.com && \
|
||||
pnpm install --frozen-lockfile
|
||||
|
||||
COPY . .
|
||||
RUN pnpm test && pnpm build
|
||||
RUN pnpm build
|
||||
|
||||
# 运行阶段仅保留构建产物与 Nginx。
|
||||
FROM nginx:1.27-alpine
|
||||
|
||||
Reference in New Issue
Block a user