Raj728272 commited on
Commit
514b8dc
·
verified ·
1 Parent(s): 4d1dd52

Upload Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +20 -0
Dockerfile ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.14.3-slim
2
+
3
+ # Install Chromium and dependencies (same as Selenium)
4
+ RUN apt-get update && apt-get install -y \
5
+ chromium \
6
+ chromium-driver \
7
+ && rm -rf /var/lib/apt/lists/*
8
+
9
+ WORKDIR /app
10
+
11
+ COPY requirements.txt .
12
+
13
+ RUN pip install --no-cache-dir -r requirements.txt
14
+
15
+ COPY . .
16
+
17
+ ENV PORT=5000
18
+ EXPOSE 5000
19
+
20
+ CMD ["python", "app.py"]