aimdeepcafe commited on
Commit
dad2aa3
·
verified ·
1 Parent(s): bccc5b5

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +9 -0
Dockerfile ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ # Hugging Face Spaces Dockerfile
2
+ # 直接使用预构建的镜像
3
+ FROM ghcr.io/lieben/baojimi-lite:latest
4
+
5
+ # 暴露端口(Hugging Face Spaces 使用 7860)
6
+ EXPOSE 7860
7
+
8
+ # 启动命令
9
+ CMD ["python", "-m", "uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]