We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ab2684 commit 2914e6bCopy full SHA for 2914e6b
Dockerfile
@@ -12,6 +12,13 @@ WORKDIR /usr/src/app
12
13
RUN apk --no-cache upgrade && \
14
apk add --no-cache udev ttf-opensans unifont chromium chromium-swiftshader ca-certificates dumb-init && \
15
+ # Remove NPM-related files and directories
16
+ rm -rf /usr/local/lib/node_modules/npm && \
17
+ rm -rf /usr/local/bin/npm && \
18
+ rm -rf /usr/local/bin/npx && \
19
+ rm -rf /root/.npm && \
20
+ rm -rf /root/.node-gyp && \
21
+ # Clean up
22
rm -rf /tmp/*
23
24
# Build stage
0 commit comments