docs: restore SRE chapter and integrate secure delivery chapter 6 #13

Merged
shiv merged 12 commits from feature/chapter6-secure-delivery into main 2026-11-26 09:14:44 +00:00
Showing only changes of commit 84c88e7c0a - Show all commits
+3 -5
View File
@@ -1,16 +1,14 @@
FROM python:3.13-slim
FROM python:3.13-slim@sha256:e48f59cdba69a3cbd9ed2cf0f348d90d45a8d350d98134cf1070bc106ee9ed90
WORKDIR /app
ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1
COPY requirements-production.txt .
RUN pip install --no-cache-dir -r requirements-production.txt
COPY requirements-production.lock.txt .
RUN pip install --no-cache-dir --require-hashes -r requirements-production.lock.txt
RUN useradd --create-home appuser
COPY --chown=appuser:appuser app.py .
USER appuser