Browse Source
revert: Workaround CVE-2023-42282
newest images have updated ip package
pull/933/head
Philip H
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
0 additions and
2 deletions
-
Dockerfile
|
@ -26,8 +26,6 @@ COPY --from=build_node_modules /node_modules /node_modules |
|
|
RUN \ |
|
|
RUN \ |
|
|
# Enable this to run `npm run serve` |
|
|
# Enable this to run `npm run serve` |
|
|
npm i -g nodemon &&\ |
|
|
npm i -g nodemon &&\ |
|
|
# Workaround CVE-2023-42282 |
|
|
|
|
|
npm uninstall -g ip &&\ |
|
|
|
|
|
# Delete unnecessary files |
|
|
# Delete unnecessary files |
|
|
npm cache clean --force && rm -rf ~/.npm |
|
|
npm cache clean --force && rm -rf ~/.npm |
|
|
|
|
|
|
|
|