fix: 🐛 add include=optional
This commit is contained in:
parent
3dbf5b2395
commit
b9b392dcef
|
@ -9,7 +9,7 @@ RUN cd /temp/dev && npm install
|
||||||
|
|
||||||
RUN mkdir -p /temp/prod
|
RUN mkdir -p /temp/prod
|
||||||
COPY package.json package-lock.json /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
|
FROM base AS prisma
|
||||||
COPY --from=install /temp/prod/node_modules node_modules
|
COPY --from=install /temp/prod/node_modules node_modules
|
||||||
|
|
Loading…
Reference in a new issue