File size: 403 Bytes
6721043 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
FROM pytorch/pytorch:2.0.1-cuda11.7-cudnn8-runtime
ENV TZ=Asia
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y \
libpng-dev libjpeg-dev \
libopencv-dev ffmpeg \
libgl1-mesa-glx
COPY requirements.txt .
RUN python -m pip install --upgrade pip
RUN pip install --no-cache -r requirements.txt
COPY . /nightimage
RUN chmod +x /nightimage/run.sh
WORKDIR /nightimage |