Commit
·
28b9194
1
Parent(s):
ff732b0
Update Dockerfile to copy deploy.py
Browse files- Dockerfile +0 -5
Dockerfile
CHANGED
|
@@ -15,9 +15,4 @@ COPY server.py utils.py deploy.py ./
|
|
| 15 |
|
| 16 |
EXPOSE 7860
|
| 17 |
|
| 18 |
-
# Determine mode based on env var, default to stdio for local mcp
|
| 19 |
-
# But for HF Spaces deployment as a "federated" node, we might want a server.
|
| 20 |
-
# FastMCP doesn't strictly have a "serve_http" method exposed in the simple CLI wrapper easily without 'uvicorn' usually.
|
| 21 |
-
# However, for now we will set the entrypoint to python server.py which does mcp.run() (stdio).
|
| 22 |
-
# If the user wants SSE, they would change the run command.
|
| 23 |
CMD ["python", "deploy.py"]
|
|
|
|
| 15 |
|
| 16 |
EXPOSE 7860
|
| 17 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
CMD ["python", "deploy.py"]
|