-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
23 lines (16 loc) · 726 Bytes
/
Copy pathDockerfile
File metadata and controls
23 lines (16 loc) · 726 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Vitals sidecar image. Includes the full quality path (spanIQ embedding metrics),
# so builds are heavier but the demo is reproducible out of the box.
FROM python:3.12-slim
WORKDIR /app
# System deps kept minimal; numpy/scipy/torch ship manylinux wheels.
RUN pip install --no-cache-dir --upgrade pip
# Dependency layer first for cache friendliness.
COPY pyproject.toml README.md ./
COPY vitals/ ./vitals/
COPY spaniq/ ./spaniq/
# rich + sentence-transformers are spanIQ runtime deps (quality path).
RUN pip install --no-cache-dir . rich sentence-transformers
COPY vitals.yaml ./vitals.yaml
# Receiver (collector fan-out target). Emits out-of-band to SIGNOZ_OTLP_ENDPOINT.
EXPOSE 4327 4328
ENTRYPOINT ["vitals", "run"]