+9
-1
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user