Spaces:
Sleeping
Sleeping
Delete Dockerfile
Browse files- Dockerfile +0 -15
Dockerfile
DELETED
|
@@ -1,15 +0,0 @@
|
|
| 1 |
-
# Serves BOTH the Streamlit UI (/) and the MCP endpoint (/mcp) on port 7860.
|
| 2 |
-
# HF Spaces only reads a file named exactly "Dockerfile" — that is why a
|
| 3 |
-
# "Dockerfile.mcp" alone never takes effect.
|
| 4 |
-
# UI-only → use Dockerfile.ui-only
|
| 5 |
-
# MCP-only → use Dockerfile.mcp
|
| 6 |
-
FROM python:3.11-slim
|
| 7 |
-
WORKDIR /app
|
| 8 |
-
COPY requirements.txt .
|
| 9 |
-
RUN pip install --no-cache-dir -r requirements.txt
|
| 10 |
-
COPY . .
|
| 11 |
-
EXPOSE 7860
|
| 12 |
-
ENV PORT=7860 STREAMLIT_PORT=8501 \
|
| 13 |
-
STREAMLIT_SERVER_MAX_UPLOAD_SIZE=200 \
|
| 14 |
-
STREAMLIT_BROWSER_GATHER_USAGE_STATS=false
|
| 15 |
-
CMD ["python", "combined_server.py"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|