fix: remove healthcheck, mitmproxy image has no curl

This commit is contained in:
Alejandro Martinez
2026-04-12 02:56:08 +02:00
parent b7cbaa5ecd
commit 379fe3ea9d

View File

@@ -1,5 +1,4 @@
FROM mitmproxy/mitmproxy:latest FROM mitmproxy/mitmproxy:latest
EXPOSE 8888 8081 EXPOSE 8888 8081
HEALTHCHECK --interval=10s --timeout=5s --retries=10 --start-period=10s \ HEALTHCHECK NONE
CMD curl -sf http://localhost:8081/ || exit 1
ENTRYPOINT ["mitmweb", "--web-host", "0.0.0.0", "--web-port", "8081", "-p", "8888", "--ssl-insecure", "--set", "web_open_browser=false"] ENTRYPOINT ["mitmweb", "--web-host", "0.0.0.0", "--web-port", "8081", "-p", "8888", "--ssl-insecure", "--set", "web_open_browser=false"]