-
-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathDockerfile
More file actions
33 lines (22 loc) · 765 Bytes
/
Copy pathDockerfile
File metadata and controls
33 lines (22 loc) · 765 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# ---- Build stage ----
FROM python:3.12-slim AS builder
WORKDIR /build
RUN apt-get update && \
apt-get install -y --no-install-recommends gcc libffi-dev && \
rm -rf /var/lib/apt/lists/*
COPY pyproject.toml README.md LICENSE ./
COPY src/ src/
RUN pip install --no-cache-dir --prefix=/install .
# ---- Runtime stage ----
FROM python:3.12-slim
LABEL maintainer="dd-agents team"
LABEL description="Forensic M&A due diligence pipeline using Claude Agent SDK"
RUN apt-get update && \
apt-get install -y --no-install-recommends poppler-utils && \
rm -rf /var/lib/apt/lists/* && \
useradd --create-home --shell /bin/bash ddagent
COPY --from=builder /install /usr/local
WORKDIR /workspace
USER ddagent
ENTRYPOINT ["dd-agents"]
CMD ["--help"]