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