spvice commited on
Commit
cff5df5
·
verified ·
1 Parent(s): 036b39d

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +11 -0
Dockerfile ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # 直接使用你已经构建好的镜像
2
+ FROM istorkbox/test1:latest
3
+
4
+ # Hugging Face 要求必须监听 7860
5
+ ENV PORT=7860
6
+
7
+ # 确保对外暴露 7860
8
+ EXPOSE 7860
9
+
10
+ # 入口保持不变(如果你的镜像里 CMD 已经定义,就可以省略)
11
+ CMD ["python", "download_youtube_run.py"]