Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,12 @@ FROM python:3.12-slim
WORKDIR /app

# Install system dependencies (libpq for psycopg2)
# git is required at build time: both risk-engine and requirements.txt install
# shared libraries from git+https URLs, and pip shells out to git to do it.
RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential \
libpq-dev \
git \
&& rm -rf /var/lib/apt/lists/*

# Create non-root user
Expand Down
Loading