RAGEN / cleanrl /Dockerfile
Harryis's picture
Add files using upload-large-folder tool
f48527c verified
Raw
History Blame Contribute Delete
622 Bytes
FROM nvidia/cuda:11.4.2-runtime-ubuntu20.04
# install ubuntu dependencies
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \
apt-get -y install python3-pip xvfb ffmpeg git build-essential python-opengl
RUN ln -s /usr/bin/python3 /usr/bin/python
# install python dependencies
RUN mkdir cleanrl_utils && touch cleanrl_utils/__init__.py
RUN pip install uv --upgrade
COPY pyproject.toml pyproject.toml
COPY uv.lock uv.lock
RUN uv pip install .
COPY entrypoint.sh /usr/local/bin/
RUN chmod 777 /usr/local/bin/entrypoint.sh
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
# copy local files
COPY ./cleanrl /cleanrl