matthoffner commited on
Commit
838d4e8
·
1 Parent(s): 0309af7

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -3
Dockerfile CHANGED
@@ -9,13 +9,12 @@ RUN apt update && apt install -y wget gnupg software-properties-common && \
9
  apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/7fa2af80.pub && \
10
  add-apt-repository "deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/ /"
11
 
12
- # Install CUDA Toolkit and other dependencies
13
  RUN apt update && \
14
- apt install -y cuda-toolkit-12-2 && \
15
  apt install --no-install-recommends -y build-essential python3 python3-pip curl git cmake zlib1g-dev libblas-dev && \
16
  apt clean && rm -rf /var/lib/apt/lists/*
17
 
18
-
19
  WORKDIR /app
20
 
21
  # Download ggml and mmproj models from HuggingFace
 
9
  apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/7fa2af80.pub && \
10
  add-apt-repository "deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/ /"
11
 
12
+ # Install CUDA components separately
13
  RUN apt update && \
14
+ apt install -y cuda-libraries-12-2 cuda-libraries-dev-12-2 && \
15
  apt install --no-install-recommends -y build-essential python3 python3-pip curl git cmake zlib1g-dev libblas-dev && \
16
  apt clean && rm -rf /var/lib/apt/lists/*
17
 
 
18
  WORKDIR /app
19
 
20
  # Download ggml and mmproj models from HuggingFace