ehsanhon commited on
Commit
390631e
·
verified ·
1 Parent(s): dd99d0b

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -4
Dockerfile CHANGED
@@ -1,8 +1,11 @@
1
- # Use a lightweight Python image
2
- FROM python:3.9-slim
3
 
4
- # Install system-level dependencies
5
- RUN apt-get update && apt-get install -y libgl1 && rm -rf /var/lib/apt/lists/*
 
 
 
6
 
7
  # Set the working directory
8
  WORKDIR /app
 
1
+ # Use a lightweight Python 3.10 image
2
+ FROM python:3.10-slim
3
 
4
+ # Install system-level dependencies required by OpenCV
5
+ RUN apt-get update && apt-get install -y \
6
+ libgl1 \
7
+ libglib2.0-0 \
8
+ && rm -rf /var/lib/apt/lists/*
9
 
10
  # Set the working directory
11
  WORKDIR /app