Files
ragflow/sandbox/sandbox_base_image/nodejs/Dockerfile
Loganaden Velvindron 7a53d2dd97 Fix CVE-2025-59466 (#12679)
### What problem does this PR solve?


https://nodejs.org/en/blog/vulnerability/january-2026-dos-mitigation-async-hooks


### Type of change

- [X] Bug Fix (non-breaking change which fixes an issue)
2026-01-19 13:15:15 +08:00

18 lines
377 B
Docker

FROM node:24.13-bookworm-slim
RUN npm config set registry https://registry.npmmirror.com
# RUN grep -rl 'deb.debian.org' /etc/apt/ | xargs sed -i 's|http[s]*://deb.debian.org|https://mirrors.ustc.edu.cn|g' && \
# apt-get update && \
# apt-get install -y curl gcc make
WORKDIR /app
COPY package.json package-lock.json .
RUN npm install
CMD ["sleep", "infinity"]