dkdaniz commited on
Commit
f627f62
·
1 Parent(s): 9e69669

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +11 -0
Dockerfile CHANGED
@@ -5,6 +5,17 @@
5
  ARG CUDA_IMAGE="12.1.1-devel-ubuntu22.04"
6
  FROM nvidia/cuda:${CUDA_IMAGE}
7
 
 
 
 
 
 
 
 
 
 
 
 
8
  RUN apt-get update && apt-get install -y software-properties-common
9
  RUN apt-get install -y g++-11 make python3 python-is-python3 pip
10
 
 
5
  ARG CUDA_IMAGE="12.1.1-devel-ubuntu22.04"
6
  FROM nvidia/cuda:${CUDA_IMAGE}
7
 
8
+ RUN apt-get update && apt-get upgrade -y \
9
+ && apt-get install -y git build-essential \
10
+ python3 python3-pip gcc wget \
11
+ ocl-icd-opencl-dev opencl-headers clinfo \
12
+ libclblast-dev libopenblas-dev \
13
+ && mkdir -p /etc/OpenCL/vendors && echo "libnvidia-opencl.so.1" > /etc/OpenCL/vendors/nvidia.
14
+
15
+ RUN python3 -m pip install --upgrade pip pytest cmake \
16
+ scikit-build setuptools fastapi uvicorn sse-starlette \
17
+ pydantic-settings starlette-context gradio huggingface_hub hf_transfer
18
+
19
  RUN apt-get update && apt-get install -y software-properties-common
20
  RUN apt-get install -y g++-11 make python3 python-is-python3 pip
21