OppaAI commited on
Commit
9c053b4
·
verified ·
1 Parent(s): 490700c

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +17 -0
Dockerfile ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.10-slim
2
+
3
+ # Install dependencies
4
+ RUN apt-get update && apt-get install -y curl unzip libnss3 libatk-bridge2.0-0 libxss1 libgtk-3-0 libasound2 libgbm-dev libxshmfence-dev
5
+
6
+ # Install Python packages
7
+ COPY requirements.txt .
8
+ RUN pip install --no-cache-dir -r requirements.txt
9
+
10
+ # Install Playwright browsers
11
+ RUN playwright install
12
+
13
+ # Copy your app
14
+ COPY . /app
15
+ WORKDIR /app
16
+
17
+ CMD ["python", "app.py"]