From 220d487ba6708d3b5a88f4c5c2f8401c45c6af84 Mon Sep 17 00:00:00 2001 From: hz Date: Tue, 14 Jul 2026 01:07:13 -0500 Subject: [PATCH] Use explicit Godot web template --- web/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/web/Dockerfile b/web/Dockerfile index a914985..e5631a4 100644 --- a/web/Dockerfile +++ b/web/Dockerfile @@ -22,13 +22,15 @@ RUN curl -fsSLO "https://github.com/godotengine/godot-builds/releases/download/$ && unzip -j -q "Godot_v${GODOT_RELEASE}_export_templates.tpz" \ templates/web_nothreads_debug.zip templates/web_nothreads_release.zip \ -d "/root/.local/share/godot/export_templates/${GODOT_TEMPLATE_DIR}" \ + && unzip -tq "/root/.local/share/godot/export_templates/${GODOT_TEMPLATE_DIR}/web_nothreads_release.zip" \ && rm -f Godot_v*.zip Godot_v*.tpz SHA512-SUMS.txt selected-checksums.txt WORKDIR /src COPY . . RUN mkdir -p /build \ + && sed -i "s|custom_template/release=\"\"|custom_template/release=\"/root/.local/share/godot/export_templates/${GODOT_TEMPLATE_DIR}/web_nothreads_release.zip\"|" export_presets.cfg \ && godot --headless --editor --path /src --quit \ - && godot --headless --path /src --export-release Web /build/index.html \ + && godot --verbose --headless --path /src --export-release Web /build/index.html \ && test -s /build/index.html \ && test -s /build/index.wasm \ && test -s /build/index.pck