refactor: split into two stacks - searchFilms/ (NL) and app/ (RU)
This commit is contained in:
parent
6ef3a10d0d
commit
51348a9d23
36 changed files with 326 additions and 1271 deletions
19
searchFilms/tmdb-proxy/Dockerfile
Normal file
19
searchFilms/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