diff --git a/Dockerfile b/Dockerfile index b5fc669..8bae19b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,7 +17,7 @@ RUN npm install --legacy-peer-deps COPY . . # 构建应用 -RUN npm run build +RUN npm run build --production=false # 生产阶段 FROM nginx:stable-alpine