pranit144 commited on
Commit
5366d2a
·
verified ·
1 Parent(s): 01a10c0

Upload Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -6
Dockerfile CHANGED
@@ -4,12 +4,9 @@ FROM python:3.10-slim
4
  # Set working directory
5
  WORKDIR /app
6
 
7
- # Install system dependencies (needed for Pillow/OpenCV sometimes)
8
- # libgl1-mesa-glx and libglib2.0-0 are common for cv2/pillow image processing
9
- RUN apt-get update && apt-get install -y --no-install-recommends \
10
- libgl1-mesa-glx \
11
- libglib2.0-0 \
12
- && rm -rf /var/lib/apt/lists/*
13
 
14
  # Copy requirements
15
  COPY requirements.txt .
 
4
  # Set working directory
5
  WORKDIR /app
6
 
7
+ # System dependencies not needed for Pillow/Torch CPU in this case.
8
+ # If you add opencv-python later, you might need libgl1 and libglib2.0-0.
9
+
 
 
 
10
 
11
  # Copy requirements
12
  COPY requirements.txt .