fix health check + build
Build and Publish Docker Image / build (push) Successful in 1m35s

This commit is contained in:
2026-09-07 00:05:33 -04:00
parent fdc65c0edb
commit 03bdd22059
3 changed files with 23 additions and 7 deletions
+5
View File
@@ -12,6 +12,11 @@ const backendOrigin = process.env.BACKEND_ORIGIN ?? "http://localhost:3000";
const app = express();
// Liveness only, so it must not touch the backend: the container healthcheck
// reads this, and an unhealthy container is dropped by Traefik's Docker
// provider - which would take the router, and with it the certificate, down.
app.get("/healthz", (req, res) => res.status(200).type("text/plain").end("ok"));
/** @type {import("vite").ViteDevServer | undefined} */
let vite;