fix: 🐛 add include=optional

This commit is contained in:
May 2024-11-20 20:41:24 -08:00
parent 3dbf5b2395
commit b9b392dcef
Signed by: split
GPG key ID: C325C61F0BF517C0

View file

@ -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