Implement lab4 S3 attachments and resilience

This commit is contained in:
2026-11-16 23:15:06 +03:00
parent ec540a1a72
commit 6fd4f402aa
28 changed files with 1899 additions and 18 deletions
+17
View File
@@ -0,0 +1,17 @@
FROM python:3.12-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY src/ ./src/
COPY migrations/ ./migrations/
ENV HOST=0.0.0.0
ENV PORT=8080
EXPOSE 8080
CMD ["uvicorn", "src.main:app", "--host", "0.0.0.0", "--port", "8080", "--workers", "1"]