Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -4,13 +4,13 @@ FROM python:3.9-slim
|
|
| 4 |
# Set environment variables to avoid interactive prompts
|
| 5 |
ENV DEBIAN_FRONTEND=noninteractive
|
| 6 |
|
| 7 |
-
# Install required system dependencies
|
| 8 |
RUN apt-get update && apt-get install -y \
|
| 9 |
libgl1-mesa-glx \ # For OpenCV compatibility
|
| 10 |
libglib2.0-0 \ # For OpenCV compatibility
|
| 11 |
-
build-essential \ # For building certain Python packages
|
| 12 |
&& rm -rf /var/lib/apt/lists/*
|
| 13 |
|
|
|
|
| 14 |
# Set the working directory
|
| 15 |
WORKDIR /app
|
| 16 |
|
|
|
|
| 4 |
# Set environment variables to avoid interactive prompts
|
| 5 |
ENV DEBIAN_FRONTEND=noninteractive
|
| 6 |
|
|
|
|
| 7 |
RUN apt-get update && apt-get install -y \
|
| 8 |
libgl1-mesa-glx \ # For OpenCV compatibility
|
| 9 |
libglib2.0-0 \ # For OpenCV compatibility
|
| 10 |
+
build-essential \ # For building certain Python packages \
|
| 11 |
&& rm -rf /var/lib/apt/lists/*
|
| 12 |
|
| 13 |
+
|
| 14 |
# Set the working directory
|
| 15 |
WORKDIR /app
|
| 16 |
|