chore: switch python base image to try arm builds

This commit is contained in:
2025-09-28 12:43:21 +02:00
parent e227ba9808
commit d7df4033c0

View File

@@ -2,9 +2,15 @@
FROM python:3.13-slim FROM python:3.13-slim
ENV PYTHONDONTWRITEBYTECODE=1 \ ENV PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1 PYTHONUNBUFFERED=1 \
PIP_DISABLE_PIP_VERSION_CHECK=1
# Install minimal OS dependencies (include zlib for arm/v7 builds)
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
zlib1g ca-certificates \
&& rm -rf /var/lib/apt/lists/*
# Install system deps (optional: to build some wheels faster). Kept minimal here.
WORKDIR /app WORKDIR /app
# Copy dependency list and install first (leverages Docker layer cache) # Copy dependency list and install first (leverages Docker layer cache)