fugthchat commited on
Commit
7a5ce20
·
verified ·
1 Parent(s): a40d418

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -0
Dockerfile CHANGED
@@ -9,6 +9,11 @@ WORKDIR /code
9
  ENV CMAKE_ARGS="-DLLAMA_CUBLAS=OFF -DLLAMA_CUDA_F16=OFF -DLLAMA_HIPBLAS=OFF -DLLAMA_METAL=OFF"
10
  ENV FORCE_CMAKE=1
11
 
 
 
 
 
 
12
  # Copy the requirements file into the container
13
  COPY ./requirements.txt /code/requirements.txt
14
 
 
9
  ENV CMAKE_ARGS="-DLLAMA_CUBLAS=OFF -DLLAMA_CUDA_F16=OFF -DLLAMA_HIPBLAS=OFF -DLLAMA_METAL=OFF"
10
  ENV FORCE_CMAKE=1
11
 
12
+ # --- START OF FIX ---
13
+ # Install build-essential (for gcc, g++) and cmake before installing python packages
14
+ RUN apt-get update && apt-get install -y build-essential cmake
15
+ # --- END OF FIX ---
16
+
17
  # Copy the requirements file into the container
18
  COPY ./requirements.txt /code/requirements.txt
19