fix rewards and bypass ip limits
build container / build (push) Failing after 2s

This commit is contained in:
2026-11-02 02:49:23 +01:00
parent 3de09009d6
commit d589dd4d64
6 changed files with 344 additions and 10 deletions
+15
View File
@@ -74,6 +74,21 @@ RUN node /tmp/patch-custom-game.js /app
COPY docker/patch-auto-verify-email.js /tmp/patch-auto-verify-email.js
RUN node /tmp/patch-auto-verify-email.js /app
# Local patch: make the Steam/MAS auth-id requirement for tutorial and class
# rewards optional (docker/patch-tutorial-reward-auth.js). Controlled at runtime
# by options.tutorial_reward_requires_auth_id.
COPY docker/patch-tutorial-reward-auth.js /tmp/patch-tutorial-reward-auth.js
RUN node /tmp/patch-tutorial-reward-auth.js /app
# Local patch: make the merchant and non-merchant multi-account limits
# configurable (docker/patch-multi-account-limits.js). Upstream hard-codes one
# merchant per IP/owner and three non-merchant characters per IP/owner in the
# backend enforcement cron, while login uses options.ip_limit/character_limit.
# The patch makes both places use options.merchant_ip_limit,
# options.merchant_owner_limit, options.ip_limit and options.character_limit.
COPY docker/patch-multi-account-limits.js /tmp/patch-multi-account-limits.js
RUN node /tmp/patch-multi-account-limits.js /app
FROM ${NODE_IMAGE} AS runtime