StarrySkyWorld commited on
Commit
a3d2bd4
·
verified ·
1 Parent(s): 8647314

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +18 -0
Dockerfile ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.12-slim
2
+
3
+ RUN apt-get update && \
4
+ apt-get install -y --no-install-recommends curl unzip && \
5
+ rm -rf /var/lib/apt/lists/*
6
+
7
+ WORKDIR /app
8
+
9
+ COPY requirements.txt .
10
+ RUN pip install --no-cache-dir -r requirements.txt && \
11
+ python -m playwright install --with-deps firefox
12
+
13
+ ENV DOWN_LINK=""
14
+
15
+ COPY entrypoint.sh .
16
+ RUN chmod +x entrypoint.sh
17
+
18
+ ENTRYPOINT ["./entrypoint.sh"]