feat: 直接传递参数给 docker run

This commit is contained in:
Akizon77
2025-07-21 08:13:26 +00:00
parent dfd758bde4
commit bb0007ce89

View File

@@ -10,6 +10,8 @@ COPY komari-agent-${TARGETOS}-${TARGETARCH} /app/komari-agent
RUN chmod +x /app/komari-agent RUN chmod +x /app/komari-agent
EXPOSE 27774 ENTRYPOINT ["/app/komari-agent"]
# 运行时请指定参数
CMD ["/app/komari-agent"] # Please specify parameters at runtime.
# eg: docker run komari-agent -e example.com -t token
CMD ["--help"]