You've already forked RekomenciBackend
<type>(scope): <description>
[body] [footer(s)]
This commit is contained in:
+2
-4
@@ -1,9 +1,7 @@
|
||||
# syntax=docker/dockerfile:1.20
|
||||
|
||||
ARG PY_IMAGE=python:3.12-slim
|
||||
|
||||
# Stage 1: Builder
|
||||
FROM ${PY_IMAGE} AS builder
|
||||
FROM docker.io/python:3.12-slim AS builder
|
||||
|
||||
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
|
||||
|
||||
@@ -27,7 +25,7 @@ RUN uv sync --frozen --no-dev --no-cache --group backend
|
||||
|
||||
|
||||
# Stage 2: Runtime
|
||||
FROM ${PY_IMAGE} AS runtime
|
||||
FROM docker.io/python:3.12-alpine3.22 AS runtime
|
||||
|
||||
ENV PYTHONDONTWRITEBYTECODE=1 \
|
||||
PYTHONUNBUFFERED=1 \
|
||||
|
||||
Reference in New Issue
Block a user