We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c89098 commit 4e46a7fCopy full SHA for 4e46a7f
Dockerfile
@@ -1,4 +1,4 @@
1
-FROM node:18 AS base
+FROM node:18-alpine AS base
2
3
# Install dependencies only when needed
4
FROM base AS deps
@@ -26,8 +26,8 @@ COPY --from=deps /app/node_modules ./node_modules
26
# 复制项目文件到工作目录
27
COPY . .
28
29
-# 安装 curl 工具
30
-RUN apt-get update && apt-get install -y curl
+# 安装 curl
+RUN apk update && apk add --no-cache curl
31
32
# Next.js collects completely anonymous telemetry data about general usage.
33
# Learn more here: https://nextjs.org/telemetry
0 commit comments