diff --git a/Dockerfile b/Dockerfile index dd409dd..ee1e5c4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,8 @@ FROM base AS deps WORKDIR /app COPY package.json package-lock.json* ./ # Install deps (Legacy Peer Deps for Astro ecosystem compatibility) -RUN npm install --legacy-peer-deps +# Force include dev dependencies because build requiring Vite needs them +RUN npm install --legacy-peer-deps --include=dev # 3. Builder FROM base AS builder