mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-04-15 13:02:35 +08:00
Switch to Python 3.12 base and add CMake for native builds
Update the Dockerfile to use python:3.12.11-slim-trixie to align with available cp312 wheels (notably MediaPipe) and avoid 3.13 ABI gaps, add cmake alongside build-essential to support native builds like dlib, keep the CUDA-enabled PyTorch install via the vendor index, and leave user/workdir/entrypoint/port settings unchanged to preserve runtime behavior.
This commit is contained in:
parent
ab630fcca0
commit
d4b1a405f5
@ -1,5 +1,5 @@
|
||||
# Use a recent slim base image
|
||||
FROM python:3.13.7-slim-trixie
|
||||
FROM python:3.12.11-slim-trixie
|
||||
|
||||
# Environment
|
||||
ENV DEBIAN_FRONTEND=noninteractive \
|
||||
@ -12,6 +12,7 @@ ENV DEBIAN_FRONTEND=noninteractive \
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
git \
|
||||
build-essential \
|
||||
cmake \
|
||||
libgl1 \
|
||||
libglx-mesa0 \
|
||||
libglib2.0-0 \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user