Files
2026-08-18 16:57:53 +02:00

15 lines
277 B
Docker

# Stage 1: Build
FROM python:3.12-slim AS builder
WORKDIR /app
# Copy dependency metadata first (better cache invalidation)
COPY pyproject.toml ./
# Install package and dependencies
RUN pip install --no-cache-dir -e .
# Copy source code
COPY . ./
CMD ["python", "main.py"]