errantanomie commited on
Commit
e40e66b
·
verified ·
1 Parent(s): 85e5184

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +16 -0
Dockerfile ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Use the official Python image
2
+ FROM python:3.10
3
+
4
+ # Install system dependencies (Poppler)
5
+ RUN apt-get update && apt-get install -y poppler-utils
6
+
7
+ # Copy the requirements.txt and install Python dependencies
8
+ COPY requirements.txt /app/requirements.txt
9
+ WORKDIR /app
10
+ RUN pip install -r requirements.txt
11
+
12
+ # Copy all app files
13
+ COPY . /app
14
+
15
+ # Command to run the Streamlit app
16
+ CMD ["streamlit", "run", "app.py", "--server.port", "7860", "--server.address", "0.0.0.0"]