Building docker
This commit is contained in:
+2
-2
@@ -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 .
|
||||
|
||||
|
||||
Reference in New Issue
Block a user