Spaces:
Running
Running
Update Dockerfile
Browse files- 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 |
|