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
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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user