add custom game data overrides
build container / build (push) Failing after 5m13s

This commit is contained in:
2026-11-01 16:18:38 +01:00
parent ea8e76a6b7
commit 1ccf4a760b
7 changed files with 459 additions and 1 deletions
+8
View File
@@ -58,6 +58,14 @@ COPY --chown=node:node docker/attribution/de.json /app/languages/de/attribution.
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
# 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
FROM ${NODE_IMAGE} AS runtime