Charlie Li commited on
Commit
d434d11
1 Parent(s): 8011742
Files changed (1) hide show
  1. Dockerfile +13 -0
Dockerfile ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.10
2
+
3
+ RUN apt-get update && apt-get install -y tesseract-ocr libtesseract-dev
4
+
5
+ COPY requirements.txt /tmp/
6
+ RUN pip install -r /tmp/requirements.txt
7
+
8
+ RUN useradd -m -u 1000 user
9
+ USER user
10
+ ENV HOME=/home/user
11
+ WORKDIR $HOME/app
12
+
13
+ CMD ["python", "app.py"]