samsonDzealot commited on
Commit
bba8d5c
·
verified ·
1 Parent(s): 7e40f45

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +10 -0
Dockerfile ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.9-slim
2
+ WORKDIR /app
3
+ RUN apt-get update && apt-get install -y \
4
+ tesseract-ocr \
5
+ libtesseract-dev \
6
+ && rm -rf /var/lib/apt/lists/*
7
+ COPY requirements.txt .
8
+ RUN pip install --no-cache-dir -r requirements.txt
9
+ COPY . .
10
+ CMD ["python", "app.py"]