mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-01-23 11:36:38 +08:00
### 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)
18 lines
377 B
Docker
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"]
|
|
|