develop - hack_2026

This commit is contained in:
denis 2026-09-23 01:34:29 +03:00
parent c65ff169a5
commit a2c1b8a6b5
1 changed files with 7 additions and 3 deletions

View File

@ -15,13 +15,17 @@ RUN apt-get update && apt-get install -y \
libgomp1 \ libgomp1 \
&& rm -rf /var/lib/apt/lists/* && 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" RUN pip3 install --no-cache-dir "meson>=0.64.0"
WORKDIR /app WORKDIR /app
COPY requirements.txt . # Устанавливаем пакеты без жёстких пинов — pip сам разрешит зависимости
RUN pip3 install --no-cache-dir -r requirements.txt 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 . . COPY . .
RUN mkdir -p models RUN mkdir -p models