KarthikAI commited on
Commit
007bde3
·
verified ·
1 Parent(s): 4da1bec

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -2,6 +2,9 @@ FROM python:3.10-slim
2
  WORKDIR /code
3
  COPY . .
4
 
 
 
 
5
  # Install all dependencies (including pillow)
6
  RUN pip install --upgrade pip && pip install -r requirements.txt
7
 
 
2
  WORKDIR /code
3
  COPY . .
4
 
5
+ # Install C++ build tools first
6
+ RUN apt-get update && apt-get install -y build-essential && apt-get clean
7
+
8
  # Install all dependencies (including pillow)
9
  RUN pip install --upgrade pip && pip install -r requirements.txt
10