Implement lab7 security and compromised worker recovery evidence

This commit is contained in:
2026-11-27 22:04:57 +03:00
parent 20afc2c790
commit 2bd97c8838
256 changed files with 36364 additions and 36 deletions
+8
View File
@@ -0,0 +1,8 @@
FROM python:3.12.16-slim-bookworm@sha256:44cf1793efa7c7a476bb0f2cff81443f4a072c90c1cb127e2924933daa3e8c64
WORKDIR /app
COPY worker/requirements-resolved.txt ./requirements.txt
RUN pip install --no-cache-dir -r requirements.txt && useradd --system --uid 10001 worker
COPY worker/pipeline ./pipeline
USER worker
ENV PYTHONUNBUFFERED=1
CMD ["python", "-m", "pipeline.main"]