diff --git a/backend/Dockerfile b/backend/Dockerfile index 5095b44..7698f2e 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -3,7 +3,7 @@ FROM node:20-alpine AS dependencies WORKDIR /app # 原生依赖使用镜像内置 Node headers,避免构建时依赖外部 headers 下载站点。 -RUN apk add --no-cache python3 make g++ +RUN apk add --no-cache python3 make g++ wget ENV npm_config_nodedir=/usr/local COPY package*.json ./