Upload Dockerfile
Browse files- Dockerfile +3 -6
Dockerfile
CHANGED
|
@@ -4,12 +4,9 @@ FROM python:3.10-slim
|
|
| 4 |
# Set working directory
|
| 5 |
WORKDIR /app
|
| 6 |
|
| 7 |
-
#
|
| 8 |
-
#
|
| 9 |
-
|
| 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 .
|