Building docker

This commit is contained in:
2026-04-26 20:29:45 +02:00
parent 2fd00013f1
commit 54e382cbb3
7 changed files with 98 additions and 4 deletions
+2 -2
View File
@@ -2,8 +2,8 @@ FROM python:3.14-slim AS base
WORKDIR /app
FROM base AS builder
# Copy pyproject.toml first to leverage Docker cache
COPY pyproject.toml .
# Copy pyproject.toml and README.md first to leverage Docker cache
COPY pyproject.toml README.md ./
# We can use pip to install the project in editable mode or just dependencies
RUN pip install --no-cache-dir .