Browse Source

update Dockerfile with libgl1-mesa-glx

5.0
Glenn Jocher 4 years ago
parent
commit
2077d78880
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      Dockerfile

+ 3
- 0
Dockerfile View File

COPY requirements.txt . COPY requirements.txt .
RUN pip install -r requirements.txt gsutil 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 # Create working directory
RUN mkdir -p /usr/src/app RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app WORKDIR /usr/src/app

Loading…
Cancel
Save