fffiloni commited on
Commit
2cb0c9e
1 Parent(s): c812124

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -1
Dockerfile CHANGED
@@ -14,6 +14,8 @@ RUN apt-get update && apt-get install -y \
14
  libgl1-mesa-glx \
15
  libglib2.0-0 \
16
  python3-dev \
 
 
17
  && rm -rf /var/lib/apt/lists/*
18
 
19
  # Create a symlink for python
@@ -33,7 +35,9 @@ ENV HOME=/home/user \
33
  GRADIO_SERVER_NAME=0.0.0.0 \
34
  GRADIO_THEME=huggingface \
35
  GRADIO_SHARE=False \
36
- SYSTEM=spaces
 
 
37
 
38
  # Set the environment variable to specify the GPU device
39
  ENV CUDA_DEVICE_ORDER=PCI_BUS_ID
 
14
  libgl1-mesa-glx \
15
  libglib2.0-0 \
16
  python3-dev \
17
+ cuda-toolkit-11-8 \
18
+ g++ \
19
  && rm -rf /var/lib/apt/lists/*
20
 
21
  # Create a symlink for python
 
35
  GRADIO_SERVER_NAME=0.0.0.0 \
36
  GRADIO_THEME=huggingface \
37
  GRADIO_SHARE=False \
38
+ SYSTEM=spaces \
39
+ CUDA_HOME=/usr/local/cuda \
40
+ LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH
41
 
42
  # Set the environment variable to specify the GPU device
43
  ENV CUDA_DEVICE_ORDER=PCI_BUS_ID