chaowenguoback commited on
Commit
a38be05
·
verified ·
1 Parent(s): fec6aa5

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +10 -0
Dockerfile ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM ubuntu:25.04
2
+ SHELL ["bash", "-c"]
3
+ WORKDIR /home/ubuntu
4
+ COPY subtitle yue.py .
5
+ RUN <<EOF
6
+ apt update
7
+ apt install -y --no-install-recommends python3-pip python3-aiohttp python3-uvloop python3-bs4 python3-lxml fonts-noto-cjk python3-pil python3-av tini
8
+ python3 -m pip install -U fake_useragent huggingface_hub --break-system-packages
9
+ EOF
10
+ ENTRYPOINT ["tini", "--", "python3", "-u", "yue.py"]