develop - hack_2026
This commit is contained in:
parent
c65ff169a5
commit
a2c1b8a6b5
10
Dockerfile
10
Dockerfile
|
|
@ -15,13 +15,17 @@ RUN apt-get update && apt-get install -y \
|
|||
libgomp1 \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Свежий meson (0.64.0+)
|
||||
# Свежий meson (0.64.0+) — ДО установки Python-пакетов
|
||||
RUN pip3 install --no-cache-dir "meson>=0.64.0"
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY requirements.txt .
|
||||
RUN pip3 install --no-cache-dir -r requirements.txt
|
||||
# Устанавливаем пакеты без жёстких пинов — pip сам разрешит зависимости
|
||||
RUN pip3 install --no-cache-dir \
|
||||
fastapi uvicorn torch torchvision monai TotalSegmentator \
|
||||
nibabel pydicom pydicom-seg opencv-python-headless \
|
||||
scikit-learn scipy pandas numpy openpyxl matplotlib timm \
|
||||
python-multipart
|
||||
|
||||
COPY . .
|
||||
RUN mkdir -p models
|
||||
|
|
|
|||
Loading…
Reference in New Issue