<type>(scope): <description>

[body]

[footer(s)]
This commit is contained in:
ITQ
2025-11-22 16:43:06 +03:00
parent 995141a200
commit b97b51074b
3 changed files with 13 additions and 7 deletions
+3 -5
View File
@@ -1,9 +1,7 @@
# syntax=docker/dockerfile:1.20
ARG PY_IMAGE=docker.io/python:3.12-slim
# Stage 1: Builder
FROM ${PY_IMAGE} AS builder
FROM docker.io/python:3.12-slim AS builder
RUN apt-get update && \
apt-get install -y --no-install-recommends \
@@ -23,10 +21,10 @@ ENV PYTHONDONTWRITEBYTECODE=1 \
COPY pyproject.toml uv.lock ./
RUN uv sync --frozen --no-dev --no-cache --group ml
RUN uv sync --frozen --no-cache --group ml
# Stage 2: ML Runtime
FROM ${PY_IMAGE} AS ml
FROM docker.io/python:3.12-slim AS ml
RUN apt-get update && \
apt-get install -y --no-install-recommends \