marcolorenzi98 commited on
Commit
7cd6b27
·
1 Parent(s): b7f036f

Create dockerfile

Browse files
Files changed (1) hide show
  1. dockerfile +19 -0
dockerfile ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Use an appropriate base image with Python and necessary tools
2
+ FROM python:3.9
3
+
4
+ # Install system-level dependencies
5
+ RUN apt-get update && apt-get install -y poppler-utils tesseract-ocr libtesseract-dev
6
+
7
+ # Set up your Python environment
8
+ # ...
9
+
10
+ # Copy and install Python dependencies
11
+ COPY requirements.txt /app/requirements.txt
12
+ WORKDIR /app
13
+ RUN pip install -r requirements.txt
14
+
15
+ # Copy your code
16
+ COPY . /app
17
+
18
+ # Set the entry point
19
+ CMD ["python", "your_script.py"]