chore: switch python base image to try arm builds
This commit is contained in:
10
Dockerfile
10
Dockerfile
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user