From 72f65b40e198243b897a475469dba3d541bcb914 Mon Sep 17 00:00:00 2001 From: Vlatko Kosturjak Date: Sat, 25 Jul 2026 18:38:48 +0200 Subject: [PATCH] fix(Dockerfile): run node-generate-prod from the repo root WORKDIR was set to /opencloud/opencloud before this RUN step, but node-generate-prod is only a real target in the repo-root Makefile (it fans out to every service's own node-generate-prod via $(MAKE) -C $$mod node-generate-prod). The nested opencloud/Makefile has no such target, so running from there does nothing -- silently, because it's mistaken for an already-satisfied file target rather than erroring -- and the resulting image ships without the web/idp frontend assets it was supposed to generate (services/idp/assets/ identifier/index.html in particular, which makes the idp service crash-loop with "Could not open index template"). --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 10c9211c8e..c7fbd75f45 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,7 +18,7 @@ FROM quay.io/opencloudeu/nodejs-ci:24 AS generate COPY ./ /opencloud/ -WORKDIR /opencloud/opencloud +WORKDIR /opencloud RUN make node-generate-prod FROM quay.io/opencloudeu/golang-ci:1.25 AS build