duqing2026 commited on
Commit
939fd56
·
1 Parent(s): f0089de

优化部署

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -8
Dockerfile CHANGED
@@ -2,14 +2,6 @@ FROM python:3.9-slim
2
 
3
  WORKDIR /app
4
 
5
- # Install system dependencies if needed (e.g. for Pillow)
6
- # libgl1-mesa-glx might be needed if using opencv, but for Pillow pure python is usually fine or it has wheels
7
- # But just in case
8
- RUN apt-get update && apt-get install -y --no-install-recommends \
9
- libgl1-mesa-glx \
10
- libglib2.0-0 \
11
- && rm -rf /var/lib/apt/lists/*
12
-
13
  COPY requirements.txt .
14
  RUN pip install --no-cache-dir -r requirements.txt
15
 
 
2
 
3
  WORKDIR /app
4
 
 
 
 
 
 
 
 
 
5
  COPY requirements.txt .
6
  RUN pip install --no-cache-dir -r requirements.txt
7