Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
|
@@ -1,6 +1,9 @@
|
|
| 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, OpenGL libraries, and libglib2.0
|
| 5 |
RUN apt-get update && apt-get install -y git libgl1-mesa-glx libglib2.0-0
|
| 6 |
|
|
|
|
| 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 without interactive prompts
|
| 5 |
+
ENV DEBIAN_FRONTEND=noninteractive
|
| 6 |
+
|
| 7 |
# Install Git, OpenGL libraries, and libglib2.0
|
| 8 |
RUN apt-get update && apt-get install -y git libgl1-mesa-glx libglib2.0-0
|
| 9 |
|