You've already forked RekomenciBackend
<type>(scope): <description>
[body] [footer(s)]
This commit is contained in:
+3
-5
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user