Spaces:
Build error
Build error
GPTfree api
commited on
Update Dockerfile
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
@@ -5,9 +5,12 @@ FROM python:3.9-slim
|
|
5 |
ENV PYTHONUNBUFFERED=1
|
6 |
ENV LANG C.UTF-8
|
7 |
|
8 |
-
# Install required system dependencies (for Git,
|
9 |
RUN apt-get update && apt-get install -y \
|
10 |
git \
|
|
|
|
|
|
|
11 |
&& rm -rf /var/lib/apt/lists/*
|
12 |
|
13 |
# Upgrade pip to a compatible version to handle metadata issues
|
|
|
5 |
ENV PYTHONUNBUFFERED=1
|
6 |
ENV LANG C.UTF-8
|
7 |
|
8 |
+
# Install required system dependencies (for Git, build tools, and others)
|
9 |
RUN apt-get update && apt-get install -y \
|
10 |
git \
|
11 |
+
build-essential \
|
12 |
+
g++ \
|
13 |
+
python3-dev \
|
14 |
&& rm -rf /var/lib/apt/lists/*
|
15 |
|
16 |
# Upgrade pip to a compatible version to handle metadata issues
|