fix mail verify
build container / build (push) Failing after 1m25s

This commit is contained in:
2026-11-02 02:16:44 +01:00
parent 1ccf4a760b
commit 3de09009d6
5 changed files with 159 additions and 9 deletions
+9 -1
View File
@@ -59,13 +59,21 @@ COPY docker/patch-attribution.js /tmp/patch-attribution.js
RUN node /tmp/patch-attribution.js /app/htmls/contents/account_help.html
# Local patch: custom game values and elements (docker/patch-custom-game.js).
# Hooks the loader into main.js and the game server, makes the Lone Wolf rates
# Hooks the loader into main.js and the game server, makes the e.g. Lone Wolf rates
# data-driven, and merges phrase overrides into the language catalogs. The
# loader itself is copied to /app/docker/ in the runtime stage; the custom file
# is mounted at runtime from ./files/custom.
COPY docker/patch-custom-game.js /tmp/patch-custom-game.js
RUN node /tmp/patch-custom-game.js /app
# Local patch: optional email auto-verification (docker/patch-auto-verify-email.js).
# A self-hosted server without SES cannot deliver verification links, so every
# new account would stay "Not Verified". The patch marks accounts verified at
# signup and login when options.auto_verify_email is enabled; without the
# option the upstream behaviour is unchanged.
COPY docker/patch-auto-verify-email.js /tmp/patch-auto-verify-email.js
RUN node /tmp/patch-auto-verify-email.js /app
FROM ${NODE_IMAGE} AS runtime