Don't clean cache on the multistage
This commit is contained in:
parent
16752bb437
commit
1d4bc49152
|
@ -26,7 +26,7 @@ RUN ./scripts/removeWorkspaceDependencies.sh
|
|||
# We will never want to sync pro, but the script is still required
|
||||
RUN echo '' > scripts/syncProPackage.js
|
||||
RUN jq 'del(.scripts.postinstall)' package.json > temp.json && mv temp.json package.json
|
||||
RUN yarn install --production && yarn cache clean
|
||||
RUN yarn install --production
|
||||
|
||||
# copy the actual code
|
||||
COPY packages/server/dist packages/server/dist
|
||||
|
|
Loading…
Reference in New Issue