Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:bug: Pass serve as the default container argument https://github.com/siyuan-note/siyuan/issues/20230

Danielb581e3dfae89
diff --git a/Dockerfile b/Dockerfile
index b42bdacdfb..a5a91321ce 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -80,4 +80,4 @@ COPY LICENSE THIRD_PARTY_NOTICES.md .
ENTRYPOINT ["/opt/siyuan/entrypoint.sh"]
# 默认启动伺服。若通过 `docker run` / `command:` 传额外参数,需自行带上 `serve` 子命令,
# 否则用户参数会整体覆盖 CMD。
-CMD ["/opt/siyuan/kernel", "serve"]
+CMD ["serve"]