test!!! tmdb в отдельный севрис

This commit is contained in:
vrubel 2026-01-02 16:59:05 +03:00
parent b30c688bbe
commit 93b2e7d4cb
9 changed files with 172 additions and 26 deletions

19
tmdb-proxy/Dockerfile Normal file
View file

@ -0,0 +1,19 @@
FROM python:3.11-slim
WORKDIR /app
# Копируем requirements
COPY requirements.txt .
# Устанавливаем зависимости
RUN pip install --no-cache-dir fastapi uvicorn httpx
# Копируем прокси-сервис
COPY tmdb_proxy.py .
# Открываем порт
EXPOSE 8001
# Запускаем сервис
CMD ["python", "tmdb_proxy.py"]