sr-rs/docker/Dockerfile.python

6 lines
230 B
Docker

FROM python:3.11-slim
RUN apt-get update && apt-get install -y build-essential python3-dev && rm -rf /var/lib/apt/lists/*
# wheel build happens via maturin in rust-dev; this image is for runtime
RUN pip install numpy
WORKDIR /app