diff --git a/scripts/Dockerfile b/scripts/Dockerfile index d4b241f..3c023b0 100644 --- a/scripts/Dockerfile +++ b/scripts/Dockerfile @@ -3,6 +3,12 @@ # Description: Dockerfile for XPack FROM python:3.12.11-alpine3.22 +# Build-time proxy (needed for apk/pip in restricted networks) +ARG HTTP_PROXY +ARG HTTPS_PROXY +ARG NO_PROXY +ENV HTTP_PROXY=$HTTP_PROXY HTTPS_PROXY=$HTTPS_PROXY NO_PROXY=$NO_PROXY + RUN apk add nodejs=~22 npm uv nginx # ENV TZ=Asia/Shanghai # RUN ln -sf /usr/share/zoneinfo/${TZ} /etc/localtime \ diff --git a/services/common/config.py b/services/common/config.py index 8e59c3f..e16deae 100644 --- a/services/common/config.py +++ b/services/common/config.py @@ -63,6 +63,9 @@ class Config: "/api/web/mcp_services", "/api/web/mcp_service_info", "/api/payment/callback_stripe", + # epay (易支付) async notify — called by the gateway, no user token. + "/api/payment/callback_epay", + "/api/payment/refund_callback_epay", # "/api/payment/callback_alipay", ]