25 lines
1.2 KiB
Diff
25 lines
1.2 KiB
Diff
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
|
|
|
|
+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 . .
|
|
|
|
+# 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
|
|
|