Skip to content

feature: add docker run support#39

Merged
kevinho merged 5 commits intokevinho:mainfrom
songtianlun:main
Feb 27, 2026
Merged

feature: add docker run support#39
kevinho merged 5 commits intokevinho:mainfrom
songtianlun:main

Conversation

@songtianlun
Copy link
Copy Markdown
Contributor

需求理解 / Requirement Understanding

我理解的需求是:
为ClawFeed 项目添加 Docker 容器化支持,包括 Dockerfile、GitHub Action 自动构建工作流,以及在 README中添加容器化运行说明。

原始指令/Issue:
参考 Diaria 项目的 docker-build.yml 实现容器化运行能力


Summary

  • 新增 Dockerfile,基于 Node.js 20 Alpine,支持 better-sqlite3 原生编译
  • 新增 GitHub Action 工作流,支持多架构构建(amd64/arm64)并自动推送到 Docker Hub
  • 修改服务器监听地址支持 DIGEST_HOST 环境变量,解决容器内网络访问问题
  • 更新 README 添加 Docker 运行说明

Type

  • Feature
  • Bug fix
  • Refactor
  • CI / DevOps
  • Docs

Test plan

  • npm test passes
  • npm run lint passes
  • Manual verification: 本地 docker build 并运行容器,验证端口映射可正常访问服务

Checklist

  • No secrets or credentials committed
  • No console.log left in production code
  • Breaking changes documented (if any)

@songtianlun
Copy link
Copy Markdown
Contributor Author

Please check again

@kevinho kevinho merged commit 38b43f0 into kevinho:main Feb 27, 2026
3 checks passed
@songtianlun
Copy link
Copy Markdown
Contributor Author

@kevinho Need to set docket hub token in GitHub action security, to resolve action run failed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants