subashpoudel commited on
Commit
19f248b
·
1 Parent(s): 00a618c

Updated docker file

Browse files
Files changed (1) hide show
  1. Dockerfile +9 -0
Dockerfile CHANGED
@@ -1,6 +1,15 @@
1
  # Use an official Python image
2
  FROM python:3.12-slim
3
 
 
 
 
 
 
 
 
 
 
4
  # Create a non-root user with UID 1000
5
  RUN useradd -m -u 1000 user
6
 
 
1
  # Use an official Python image
2
  FROM python:3.12-slim
3
 
4
+ # Install system dependencies for OpenCV, EasyOCR, and fonts
5
+ RUN apt-get update && apt-get install -y \
6
+ libgl1 \
7
+ libglib2.0-0 \
8
+ libsm6 \
9
+ libxrender1 \
10
+ libxext6 \
11
+ && rm -rf /var/lib/apt/lists/*
12
+
13
  # Create a non-root user with UID 1000
14
  RUN useradd -m -u 1000 user
15