Refactor Docker setup to unify CLI and HTTP API under a single image. Update entrypoint to use a script for dynamic behavior based on arguments. Revise documentation to clarify usage and service distinctions.
Publish mtproxy_checker Docker image / test (push) Successful in 7s
Publish mtproxy_checker Docker image / build-and-push (push) Successful in 53s

This commit is contained in:
Denozordec
2026-04-11 01:08:10 +07:00
parent 5a66f0f2e8
commit 175136d82a
6 changed files with 31 additions and 18 deletions
+3 -1
View File
@@ -13,5 +13,7 @@ FROM alpine:3.20
RUN apk add --no-cache ca-certificates
COPY --from=build /mtproxy_checker /usr/local/bin/mtproxy_checker
COPY --from=build /mtproxy_checkerd /usr/local/bin/mtproxy_checkerd
COPY docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh
RUN chmod +x /usr/local/bin/docker-entrypoint.sh
EXPOSE 8080
ENTRYPOINT ["/usr/local/bin/mtproxy_checker"]
ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"]