test!!! tmdb в отдельный севрис
This commit is contained in:
parent
b30c688bbe
commit
93b2e7d4cb
9 changed files with 172 additions and 26 deletions
19
tmdb-proxy/Dockerfile
Normal file
19
tmdb-proxy/Dockerfile
Normal 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"]
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue