feat: add submitted collection, /similar and /submitted endpoints (Stage 4)
Made-with: Cursor
This commit is contained in:
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user