FROM python:3.12-slim
RUN apt-get update && apt-get install -y --no-install-recommends curl git ca-certificates && rm -rf /var/lib/apt/lists/*
COPY requirements.txt /tmp/requirements.txt
RUN pip install --no-cache-dir --require-hashes -r /tmp/requirements.txt
LABEL life.symbolic.input-digest="93aa354dd00ff8e68043205b3fd54a44aab806eb967831a271de28c7711c1786"
COPY bundle /root/task
ENV OPENBLAS_NUM_THREADS=1 OMP_NUM_THREADS=1
RUN mkdir -p /root/results
WORKDIR /root

RUN python -c 'import hashlib,pathlib; expected={'"'"'/root/task/README.md'"'"': '"'"'5323a517616969d6028bb8db49e0c20a4411bea7fb2cc6a9d51212f09b8715fc'"'"', '"'"'/root/task/check_answer.py'"'"': '"'"'268a47121d570ff2160f04adcbc531c3cbf994a88aab377365338b389980e838'"'"', '"'"'/root/task/context.md'"'"': '"'"'b367c3dc760b7ec7df91509570813ea3e2fa19f25919eb7e0881a08ee4041709'"'"', '"'"'/root/task/healthy_characterization.json'"'"': '"'"'690e520b5857839115bbd07015ffeb5857444b55f518a91efffa34c3a6ab576d'"'"', '"'"'/root/task/lab_api.md'"'"': '"'"'5fbe2bd90f0af950ce0daafa8a569840cb9a2d6b5cb583e175d5c5fee8814e76'"'"', '"'"'/root/task/methods.md'"'"': '"'"'a0d86bb2f0c5de9efd7972df8155f0fa29b08a42f97ad1c37b27bec8751210db'"'"', '"'"'/root/task/signor_sources.tsv.gz'"'"': '"'"'c9a7b758275fcfcd34f552c4a8486eb4a5cc4dee39a6f184a744f4c8613adab5'"'"', '"'"'/root/task/sources.json'"'"': '"'"'08ef80d2f332024c08d97fa6f1f27a682ea905830c657fbe1585719d1913643b'"'"', '"'"'/root/task/submission_contract.md'"'"': '"'"'8c892c344d2c5196e6db142f57551b529dee8ac77b97f66e15b5916a2827a7c9'"'"', '"'"'/root/task/task.json'"'"': '"'"'2a14eecb683e49adbd2b0b5504ee6f3641782c5a449d306e225186442cc647b7'"'"'}; actual={p:hashlib.sha256(pathlib.Path(p).read_bytes()).hexdigest() for p in expected}; assert actual==expected, {p:actual.get(p) for p,h in expected.items() if actual.get(p)!=h}'
