Akwbw commited on
Commit
dc15560
·
verified ·
1 Parent(s): 35a5db4

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +18 -0
Dockerfile ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Docker template chosen
2
+ FROM python:3.12-slim
3
+
4
+ WORKDIR /app
5
+
6
+ COPY requirements.txt .
7
+
8
+ # Install dependencies
9
+ RUN pip install --no-cache-dir -r requirements.txt
10
+
11
+ # Install Playwright browsers
12
+ RUN playwright install
13
+
14
+ # Copy app
15
+ COPY app.py .
16
+
17
+ # Run Flask app
18
+ CMD ["python", "app.py"]