fix: use standard dist/ output for Vite, copy to static/ explicitly
All checks were successful
CI / build (push) Successful in 39s
CI / docker (push) Successful in 37s

The relative outDir '../src/main/resources/static' resolved
unpredictably in Docker. Use standard 'dist/' output, then:
- Dockerfile: COPY --from=frontend /ui/dist/ to static/
- CI: cp -r dist/ to src/main/resources/static/

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
hsiegeln
2026-04-04 23:44:50 +02:00
parent e5e14fbe32
commit ad6805e447
3 changed files with 3 additions and 2 deletions

View File

@@ -13,7 +13,7 @@ export default defineConfig({
},
},
build: {
outDir: '../src/main/resources/static',
outDir: 'dist',
emptyOutDir: true,
},
});