f36e2104d8
tests / ragflow_tests_infinity (push) Has been cancelled
tests / ragflow_tests_elasticsearch (push) Has been cancelled
sep-tests / ragflow_preflight (push) Has been cancelled
sep-tests / ragflow_tests_infinity (push) Has been cancelled
sep-tests / ragflow_tests_elasticsearch (push) Has been cancelled
tests / ragflow_preflight (push) Has been cancelled
24 lines
521 B
Docker
24 lines
521 B
Docker
FROM node:24.13-bookworm-slim
|
|
|
|
ARG NEED_MIRROR=1
|
|
|
|
RUN if [ "$NEED_MIRROR" = 1 ]; then \
|
|
npm config set registry https://registry.npmmirror.com; \
|
|
else \
|
|
npm config set registry https://registry.npmjs.org; \
|
|
fi
|
|
|
|
# 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"]
|
|
|