Sagar32 commited on
Commit
e54eadd
·
verified ·
1 Parent(s): e735818

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -0
Dockerfile CHANGED
@@ -2,6 +2,12 @@ FROM python:3.10-slim
2
 
3
  WORKDIR /app
4
 
 
 
 
 
 
 
5
  # Downgrade pip FIRST before anything else
6
  RUN pip install "pip<24.1"
7
 
 
2
 
3
  WORKDIR /app
4
 
5
+ # Install g++ and build tools first
6
+ RUN apt-get update && apt-get install -y \
7
+ g++ \
8
+ build-essential \
9
+ && rm -rf /var/lib/apt/lists/*
10
+
11
  # Downgrade pip FIRST before anything else
12
  RUN pip install "pip<24.1"
13