diff --git a/Dockerfile b/Dockerfile index 8c186380..9a1ede8a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ WORKDIR /app # Install dependencies based on the preferred package manager COPY package.json package-lock.json* ./ -RUN --mount=type=cache,target=/root/.npm npm ci +RUN --mount=type=cache,target=/root/.npm npm ci --legacy-peer-deps # Rebuild the source code only when needed