Explorar el Código

update Dockerfile with libgl1-mesa-glx

5.0
Glenn Jocher hace 4 años
padre
commit
2077d78880
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. +3
    -0
      Dockerfile

+ 3
- 0
Dockerfile Ver fichero

@@ -5,6 +5,9 @@ FROM nvcr.io/nvidia/pytorch:20.03-py3
COPY requirements.txt .
RUN pip install -r requirements.txt gsutil

# ImportError: libGL.so.1: cannot open shared object file: No such file or directory solution
RUN apt update && apt install -y libgl1-mesa-glx

# Create working directory
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app

Cargando…
Cancelar
Guardar