gaoqilan commited on
Commit
6767e6c
·
verified ·
1 Parent(s): 71914ed

Create DOCKERFILE

Browse files
Files changed (1) hide show
  1. DOCKERFILE +13 -0
DOCKERFILE ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.9-slim
2
+
3
+ RUN apt-get update && apt-get install -y \
4
+ git libnss3 libx11-6 libxcomposite1 libxcursor1 \
5
+ libxi6 libxtst6 libgl1-mesa-glx libxrandr2
6
+
7
+ RUN pip install playwright==1.32.1 && \
8
+ playwright install chromium
9
+
10
+ WORKDIR /app
11
+ COPY . .
12
+
13
+ CMD ["python", "app.py"]