ЛР 7 — БВТ2302 — Макаренко — TLS и управление секретами

This commit is contained in:
2026-12-04 13:41:59 +03:00
parent 20afc2c790
commit 8a3cf7f2dd
55 changed files with 1991 additions and 24 deletions
+7
View File
@@ -0,0 +1,7 @@
FROM python:3.12.8-slim
WORKDIR /app
COPY app/requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt && useradd --uid 10001 messenger
COPY app/ .
USER messenger
CMD ["uvicorn","main:app","--host","0.0.0.0","--port","8080","--no-access-log"]