SevdanurGenc's picture
Upload 300 files
9438a57 verified
Raw History Blame Contribute Delete
464 Bytes
# Python test sandbox: pytest + coverage.py
FROM python:3.12-slim
# requests/responses/pytest-mock/freezegun: HTTP istemcisi ve zaman kullanan kodun ağsız test edilebilmesi için
RUN pip install --no-cache-dir "pytest>=8.2" "pytest-cov>=5.0" "coverage>=7.5" \
"requests>=2.31" "responses>=0.25" "pytest-mock>=3.12" "freezegun>=1.4" setuptools wheel \
&& pip install --no-cache-dir "mutmut==2.5.1" \
&& useradd -m -u 1000 sandbox
USER sandbox
WORKDIR /work