Fix: Rename Docker image for gateway service and reformat sqlite-config.js for consistency
Build and Publish Docker Images / build-and-push (., backend/infrastructure/gateway/Dockerfile, api-gateway, api-gateway) (push) Successful in 12m14s
Build and Publish Docker Images / build-and-push (., backend/services/ping/Dockerfile, ping-service, ping-service) (push) Successful in 9m25s
Build and Publish Docker Images / build-and-push (., config/docker/caddy/web-app/Dockerfile, web-app, web-app) (push) Failing after 29m52s
Build and Publish Docker Images / build-and-push (., config/docker/keycloak/Dockerfile, keycloak, keycloak) (push) Successful in 1m57s

This commit is contained in:
2026-03-04 17:57:31 +01:00
parent db2b4a4027
commit e6aa22acdb
2 changed files with 52 additions and 50 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ jobs:
- service: api-gateway - service: api-gateway
context: . context: .
dockerfile: backend/infrastructure/gateway/Dockerfile dockerfile: backend/infrastructure/gateway/Dockerfile
image: gateway image: api-gateway
- service: ping-service - service: ping-service
context: . context: .
dockerfile: backend/services/ping/Dockerfile dockerfile: backend/services/ping/Dockerfile
@@ -137,11 +137,13 @@ config.devServer.devMiddleware.mimeTypes = {
'application/javascript': ['js'] 'application/javascript': ['js']
}; };
// 10. OPTIMIZATION: Disable minification to prevent Terser crashes with SQLite WASM // 10. OPTIMIZATION: Aggressively disable ALL minimizers
// Since the app is mostly WASM-based, JS minification is not critical. // This is the ONLY stable way to prevent the Terser crash with SQLite-WASM
// in Kotlin/JS Production builds.
if (config.optimization) { if (config.optimization) {
console.log("SQLite Config: Disabling minification to prevent Terser errors."); console.log("SQLite Config: Aggressively removing minimizers to prevent Terser errors.");
config.optimization.minimize = false; config.optimization.minimize = false;
config.optimization.minimizer = []; // Das hier ist das entscheidende "Brecheisen"
} }
/*// 10. OPTIMIZATION: Exclude SQLite workers from parsing and minification /*// 10. OPTIMIZATION: Exclude SQLite workers from parsing and minification