Rsshub / Dockerfile
root
Add Dockerfile for RSSHub deployment (chromium-bundled)
5bac393
raw
history blame contribute delete
394 Bytes
# RSSHub with Chromium (Puppeteer support) for Hugging Face Spaces
FROM diygod/rsshub:chromium-bundled
# Hugging Face Spaces 必须使用端口 7860
ENV PORT=7860
ENV NODE_ENV=production
# 可选环境变量(按需取消注释)
# ENV CACHE_TYPE=memory
# ENV CACHE_EXPIRE=600
# ENV GITHUB_ACCESS_TOKEN=your_token_here
# ENV ALLOW_USER_HOTLINK=1
EXPOSE 7860
CMD ["node", "dist/index.mjs"]