From e325c4d2c05e2834abe2eb6fc4fda7f076e97ba2 Mon Sep 17 00:00:00 2001 From: hsiegeln <37154749+hsiegeln@users.noreply.github.com> Date: Sat, 4 Apr 2026 22:10:42 +0200 Subject: [PATCH] fix: correct Dockerfile frontend build output path Vite's outDir is '../src/main/resources/static' (relative to ui/), which resolves to /src/main/resources/static/ in the Docker build. The COPY was looking at /ui/dist/ which doesn't exist. Co-Authored-By: Claude Opus 4.6 (1M context) --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 1ba3ab4..ba12871 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,7 @@ COPY .mvn/ .mvn/ COPY mvnw pom.xml ./ RUN --mount=type=cache,target=/root/.m2/repository ./mvnw dependency:go-offline -B COPY src/ src/ -COPY --from=frontend /ui/dist/ src/main/resources/static/ +COPY --from=frontend /src/main/resources/static/ src/main/resources/static/ RUN --mount=type=cache,target=/root/.m2/repository ./mvnw package -DskipTests -B FROM eclipse-temurin:21-jre-alpine