Files
mtusi2026lab7/worker/Dockerfile
T
landcruiser200 2bd97c8838
Application / application (pull_request) Canceled after 0s
Skeleton contracts / contracts (pull_request) Canceled after 0s
Implement lab7 security and compromised worker recovery evidence
2026-11-27 22:04:57 +03:00

9 lines
371 B
Docker

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"]