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 82eba1e commit 771ffdcCopy full SHA for 771ffdc
src/frontend/servers/y-provider/Dockerfile
@@ -31,6 +31,9 @@ COPY --from=y-provider-builder \
31
32
RUN NODE_ENV=production yarn install --frozen-lockfile
33
34
+# Remove npm, contains CVE related to cross-spawn and we don't use it.
35
+RUN rm -rf /usr/local/bin/npm /usr/local/lib/node_modules/npm
36
+
37
# Un-privileged user running the application
38
ARG DOCKER_USER
39
USER ${DOCKER_USER}
0 commit comments