fffiloni commited on
Commit
75d88a8
·
1 Parent(s): bcd622e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -4
Dockerfile CHANGED
@@ -1,10 +1,8 @@
1
  # Use an official PyTorch image with CUDA support as the base image
2
  FROM pytorch/pytorch:2.0.1-cuda11.7-cudnn8-runtime
3
 
4
- # Install Git and system libraries required for OpenGL
5
- RUN apt-get update && apt-get install -y git \
6
- libgl1-mesa-glx \
7
- libglib2.0-0
8
 
9
  # Set up a new user named "user" with user ID 1000
10
  RUN useradd -m -u 1000 user
 
1
  # Use an official PyTorch image with CUDA support as the base image
2
  FROM pytorch/pytorch:2.0.1-cuda11.7-cudnn8-runtime
3
 
4
+ # Install Git and OpenGL libraries, and libglib2.0
5
+ RUN apt-get update && apt-get install -y git libgl1-mesa-glx libglib2.0-0
 
 
6
 
7
  # Set up a new user named "user" with user ID 1000
8
  RUN useradd -m -u 1000 user