diff --git a/video-lab/Dockerfile b/video-lab/Dockerfile new file mode 100644 index 0000000..a599f32 --- /dev/null +++ b/video-lab/Dockerfile @@ -0,0 +1,10 @@ +FROM python:3.12-alpine +ENV PYTHONUNBUFFERED=1 + +WORKDIR /app +COPY requirements.txt . +RUN pip install --no-cache-dir -r requirements.txt + +COPY . . + +CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000", "--workers", "1"] diff --git a/video-lab/app/__init__.py b/video-lab/app/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/video-lab/requirements.txt b/video-lab/requirements.txt new file mode 100644 index 0000000..406149e --- /dev/null +++ b/video-lab/requirements.txt @@ -0,0 +1,6 @@ +fastapi==0.115.6 +uvicorn[standard]==0.30.6 +redis>=5.0 +pytest>=8.0.0 +pytest-asyncio>=0.21 +httpx>=0.27.0