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="2ec5157204ce413cc8897c60353666b45cc94a389e1fac1aa81ded5e02fdb54f"
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'"'"': '"'"'0307c27dbfbe6fe652ee5c90ab92725a5105ef261bbacbb102189f6a9ed5772d'"'"', '"'"'/root/task/healthy_characterization.json'"'"': '"'"'736714fb4ddc2637f1b1218463bff70428e15c8bc0e8443b014b59446f0b0266'"'"', '"'"'/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'"'"': '"'"'6ae1a296ba39fd5e1a47dd31925777d2da47ae6c25563113ee5b41d7a997c454'"'"'}; 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}'
