Reduce base image size (first round of improvements) #690
@ -136,4 +136,13 @@ fi
|
||||
|
||||
$CERC_BUILD_TOOL run cerc_compile || exit 1
|
||||
|
||||
case $CERC_BUILD_TOOL in
|
||||
yarn)
|
||||
yarn install --production --frozen-lockfile --force
|
||||
;;
|
||||
npm)
|
||||
npm prune --omit=dev
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
||||
|
Loading…
Reference in New Issue
Block a user