diff --git a/integrations/hermes-unraid/webapp-test/packaging.patch b/integrations/hermes-unraid/webapp-test/packaging.patch index 1936c31..c5fd626 100644 --- a/integrations/hermes-unraid/webapp-test/packaging.patch +++ b/integrations/hermes-unraid/webapp-test/packaging.patch @@ -1,24 +1,10 @@ -diff --git a/tmp/hermes-webapp-Dockerfile b/tmp/Hermes-Webapp-Test.Dockerfile -index d7fa4f7..1104adf 100644 ---- a/tmp/hermes-webapp-Dockerfile -+++ b/tmp/Hermes-Webapp-Test.Dockerfile -@@ -322,6 +322,9 @@ COPY --from=icons /tmp/hermes-icons /tmp/hermes-icons - RUN node scripts/build/tui.mjs --source /opt/hermes --out /opt/products/tui && \ - node scripts/build/web.mjs --source /opt/hermes --icons /tmp/hermes-icons --out /opt/products/web - +--- a/Dockerfile ++++ b/Dockerfile.webapp +@@ -324,0 +325,3 @@ +COPY . . +RUN node apps/desktop/scripts/build-webapp.mjs + - FROM python_deps AS runtime - # Standalone TypeScript linting is a runtime feature; Vite/esbuild are not. - COPY --from=frontend_build /opt/hermes/node_modules/typescript /opt/hermes/node_modules/typescript -@@ -366,6 +369,9 @@ RUN mkdir -p /tmp/hermes-runtime && chmod 0700 /tmp/hermes-runtime - # write so the build steps below don't need chmod u+w dances. - COPY --link --chmod=a+rX,go-w . . - +@@ -367,0 +371,3 @@ ++ +# Webapp renderer built by the upstream product builder. +COPY --from=frontend_build /opt/hermes/apps/desktop/dist-webapp /opt/hermes/apps/desktop/dist-webapp -+ - # The shared assembler binds the prepared environment and frontend products. - RUN /opt/hermes/.venv/bin/python -m docker.build_agent -