FROM python:3.11 COPY ./Makefile /opt/Makefile COPY ./pyproject.toml /opt/pyproject.toml WORKDIR /opt RUN make .venv COPY ./src /opt/src RUN mkdir -p /.cache/torchrl \ && mkdir -p /.cache/huggingface \ && chmod -R 777 /.cache/torchrl \ && chmod -R 777 /.cache/huggingface # Runtime args CMD .venv/bin/python -m src.app