Spaces:
Build error
Build error
Download Dockerfile from c-gohlke/LitRL-Inference: direct link, hf CLI and curl.
- Browser
- Download file 358 Bytes
-
https://huggingface.co/spaces/c-gohlke/LitRL-Inference/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/c-gohlke/LitRL-Inference/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/c-gohlke/LitRL-Inference/resolve/main/Dockerfile
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 |