cc165 commited on
Commit
2237d81
·
verified ·
1 Parent(s): fecffe0

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -0
Dockerfile ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ FROM yxmiler/grok2api_python:latest
2
+
3
+ # Hugging Face Spaces 要求服务监听 7860 端口
4
+ # 我们用环境变量来覆盖镜像中默认的 PORT 设置
5
+ ENV PORT=7860
6
+
7
+ # 容器启动时运行的命令
8
+ CMD ["python", "app.py"]