feat: реализовать ЛР7 — TLS, mTLS, OpenBao и hardening
Skeleton contracts / contracts (pull_request) Blocked by required conditions

This commit is contained in:
ferraronp
2026-11-26 19:50:38 +03:00
parent 20afc2c790
commit ca7515601a
98 changed files with 6252 additions and 107 deletions
+10
View File
@@ -0,0 +1,10 @@
FROM python:3.12.16-slim-bookworm
ENV PYTHONDONTWRITEBYTECODE=1 PYTHONUNBUFFERED=1
WORKDIR /srv
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt && groupadd --gid 999 app && useradd -m --uid 999 --gid app app
COPY app ./app
COPY db ./db
USER app
EXPOSE 8080
CMD ["python", "-m", "app"]