File size: 342 Bytes
f3774f8
 
 
 
 
 
 
 
 
 
 
15c213d
9a4b9d8
3a424a6
f3774f8
3a424a6
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM python:3.10-slim

WORKDIR /app

RUN apt-get update && apt-get install -y \
    git ffmpeg libsm6 libxext6 \
    && rm -rf /var/lib/apt/lists/*

COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt

RUN mkdir -p /app/.EasyOCR && chmod -R 777 /app/.EasyOCR

COPY src/ ./src/

EXPOSE 7860
CMD ["python", "src/app.py"]