File size: 321 Bytes
2907f3f
e1233d8
 
2907f3f
 
 
 
 
 
 
e1233d8
 
 
 
 
2907f3f
e1233d8
 
 
 
 
 
 
2907f3f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
FROM python

RUN apt-get update && \
  apt-get install -y \
  ffmpeg \
  tesseract-ocr \
  imagemagick \
  webp && \
  apt-get upgrade -y && \
  rm -rf /var/lib/apt/lists/*

WORKDIR /app

COPY requirements.txt .

RUN pip install -r requirements.txt

COPY . .

EXPOSE 7860

RUN chmod -R 777 /app

CMD ["python3", "app.py"]