LitRL-Inference / Dockerfile
c-gohlke's picture
Update Space
3556cd8 verified
raw
history blame contribute delete
358 Bytes
FROM python:3.11
WORKDIR /opt
RUN apt-get update \
&& apt-get install swig -y
RUN pip install "litrl[demo, torchrl]~=0.0.16"
COPY ./src /opt/src
COPY ./run.py /opt/run.py
RUN mkdir -p /.cache/torchrl \
&& mkdir -p /.cache/huggingface \
&& chmod -R 777 /.cache/torchrl \
&& chmod -R 777 /.cache/huggingface
# Runtime args
CMD python run.py