From 1056a20e712c29e912803e1b8a5298f7651db9d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=B2=20Boschi?= Date: Wed, 10 Dec 2025 17:56:51 +0100 Subject: [PATCH] fix docker image --- docker/standalone/Dockerfile | 3 +++ helm/hindsight/values.yaml | 14 ++++++-------- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/docker/standalone/Dockerfile b/docker/standalone/Dockerfile index fe0847c0..4b83f536 100644 --- a/docker/standalone/Dockerfile +++ b/docker/standalone/Dockerfile @@ -43,6 +43,9 @@ RUN uv sync # Copy source code (alembic migrations are inside hindsight_api/) COPY hindsight-api/hindsight_api ./hindsight_api +# Install the local package (uv sync only installed dependencies, not the package itself) +RUN uv pip install -e . + # ============================================================================= # Stage: SDK Builder (needed for Control Plane) # ============================================================================= diff --git a/helm/hindsight/values.yaml b/helm/hindsight/values.yaml index 6a08716a..dcbe3b68 100644 --- a/helm/hindsight/values.yaml +++ b/helm/hindsight/values.yaml @@ -1,7 +1,7 @@ # Default values for hindsight # Chart version - use this to set a consistent image tag across all components -version: "0.1.0" +version: "0.1.1" # Global settings replicaCount: 1 @@ -32,7 +32,7 @@ api: # Liveness and readiness probes livenessProbe: httpGet: - path: / + path: /health port: 8888 initialDelaySeconds: 30 periodSeconds: 10 @@ -41,7 +41,7 @@ api: readinessProbe: httpGet: - path: / + path: /health port: 8888 initialDelaySeconds: 10 periodSeconds: 5 @@ -81,10 +81,9 @@ controlPlane: cpu: 250m memory: 512Mi - # Liveness and readiness probes + # Liveness and readiness probes (TCP check) livenessProbe: - httpGet: - path: / + tcpSocket: port: 3000 initialDelaySeconds: 30 periodSeconds: 10 @@ -92,8 +91,7 @@ controlPlane: failureThreshold: 3 readinessProbe: - httpGet: - path: / + tcpSocket: port: 3000 initialDelaySeconds: 10 periodSeconds: 5