Spaces:
Sleeping
Sleeping
Create Dockerfile
Browse files- Dockerfile +5 -0
Dockerfile
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# 使用已经推送的镜像作为基础镜像
|
| 2 |
+
FROM songyouzhong/fastapi-llm-app:latest
|
| 3 |
+
|
| 4 |
+
# 直接启动应用(假设已经配置了启动命令)
|
| 5 |
+
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]
|