feat: add submitted collection, /similar and /submitted endpoints (Stage 4)

Made-with: Cursor
This commit is contained in:
2026-02-28 19:00:22 +03:00
parent 955f518429
commit a1d6d2d860
15 changed files with 1308 additions and 400 deletions

View File

@@ -14,9 +14,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
# Копируем зависимости
COPY requirements.txt .
# Устанавливаем зависимости
# --no-cache-dir для уменьшения размера образа
RUN pip install --no-cache-dir -r requirements.txt
# Устанавливаем зависимости (CPU-only torch для контейнеров без GPU)
RUN pip install --no-cache-dir torch --index-url https://download.pytorch.org/whl/cpu \
&& pip install --no-cache-dir -r requirements.txt
# Копируем код приложения
COPY app/ ./app/