From b9b392dcef5124d5c25ecf7659baf3f7fb8d8187 Mon Sep 17 00:00:00 2001 From: split Date: Wed, 20 Nov 2024 20:41:24 -0800 Subject: [PATCH] fix: :bug: add include=optional --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index ed528ea..2cef2ac 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ RUN cd /temp/dev && npm install RUN mkdir -p /temp/prod COPY package.json package-lock.json /temp/prod/ -RUN cd /temp/prod && npm install --omit dev +RUN cd /temp/prod && npm install --omit dev --include=optional FROM base AS prisma COPY --from=install /temp/prod/node_modules node_modules