kamiwork commited on
Commit
dc6ecc9
·
verified ·
1 Parent(s): ce82fb6

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +19 -0
Dockerfile ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM mcr.microsoft.com/playwright:v1.40.0-jammy
2
+
3
+ # Python aur pip setup
4
+ RUN apt-get update && apt-get install -y python3 python3-pip
5
+
6
+ WORKDIR /app
7
+
8
+ # Libraries install karein
9
+ RUN pip3 install playwright gradio
10
+
11
+ # Browser install karein
12
+ RUN playwright install chromium
13
+
14
+ COPY . .
15
+
16
+ # Port 7860 expose karein
17
+ EXPOSE 7860
18
+
19
+ CMD ["python3", "app.py"]