From bb0007ce89def527b13062ff1ec873342832cb06 Mon Sep 17 00:00:00 2001 From: Akizon77 Date: Mon, 21 Jul 2025 08:13:26 +0000 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=9B=B4=E6=8E=A5=E4=BC=A0=E9=80=92?= =?UTF-8?q?=E5=8F=82=E6=95=B0=E7=BB=99=20docker=20run?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index f4d7d0b..14cf00a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,6 +10,8 @@ COPY komari-agent-${TARGETOS}-${TARGETARCH} /app/komari-agent RUN chmod +x /app/komari-agent -EXPOSE 27774 - -CMD ["/app/komari-agent"] +ENTRYPOINT ["/app/komari-agent"] +# 运行时请指定参数 +# Please specify parameters at runtime. +# eg: docker run komari-agent -e example.com -t token +CMD ["--help"] \ No newline at end of file