forked from Zakkoree/woiden_extend
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
28 lines (16 loc) · 708 Bytes
/
Dockerfile
File metadata and controls
28 lines (16 loc) · 708 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
FROM python:bullseye
LABEL maintainer="Zakkoree"<zdy.mail@foxmail.com>
LABEL org.opencontainers.image.source=https://github.com/Zakkoree/woiden_extend
LABEL org.opencontainers.image.description="Woiden And Hax Auto Extend"
LABEL org.opencontainers.image.licenses=MIT
RUN apt update && apt install ffmpeg -y \
&& apt clean && rm -rf /var/lib/apt/lists/*
WORKDIR /app
ENV PATH="/app:${PATH}"
COPY requirements.txt .
# RUN pip install -i https://pypi.tuna.tsinghua.edu.cn/simple --no-cache-dir -r requirements.txt
RUN pip install --no-cache-dir -r requirements.txt
RUN python -m playwright install
RUN playwright install-deps
COPY . .
ENTRYPOINT ["python3","main.py"]