mirror of
https://github.com/fankes/komari-agent.git
synced 2025-10-19 02:59:23 +08:00
feat: 直接传递参数给 docker run
This commit is contained in:
@@ -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"]
|
Reference in New Issue
Block a user