forked from OpenRLHF/OpenRLHF
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
23 lines (16 loc) · 692 Bytes
/
Copy pathDockerfile
File metadata and controls
23 lines (16 loc) · 692 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM nvcr.io/nvidia/pytorch:24.07-py3
WORKDIR /app
RUN set -eux && \
apt-get update && \
apt-get install -y gosu && \
rm -rf /var/lib/apt/lists/* && \
gosu nobody true
RUN apt-get update && apt-get -y install sudo
RUN sudo su -
RUN DEBIAN_FRONTEND=noninteractive apt install -y tzdata
RUN apt-get -y install build-essential git python3-dev python3-pip libopenexr-dev libxi-dev libglfw3-dev libglew-dev libomp-dev libxinerama-dev libxcursor-dev gdb
RUN pip uninstall xgboost transformer_engine flash_attn pynvml opencv-python-headless -y
RUN pip install vllm==0.8.3
COPY docker-entrypoint.sh .
RUN chmod a+x docker-entrypoint.sh
ENTRYPOINT ["/app/docker-entrypoint.sh"]