revert: Workaround CVE-2023-42282

newest images have updated ip package
This commit is contained in:
Philip H
2024-03-23 19:35:58 +01:00
committed by GitHub
parent 5afb701013
commit ac47789561

View File

@@ -26,8 +26,6 @@ COPY --from=build_node_modules /node_modules /node_modules
RUN \
# Enable this to run `npm run serve`
npm i -g nodemon &&\
# Workaround CVE-2023-42282
npm uninstall -g ip &&\
# Delete unnecessary files
npm cache clean --force && rm -rf ~/.npm