Spaces:
Sleeping
Sleeping
Download Dockerfile from WebashalarForML/mcp_server_test: direct link, hf CLI and curl.
- Browser
- Download file 270 Bytes
-
https://huggingface.co/spaces/WebashalarForML/mcp_server_test/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/WebashalarForML/mcp_server_test/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/WebashalarForML/mcp_server_test/resolve/main/Dockerfile
270 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| # Copy your code and resources | |
| COPY . . | |
| # Install dependencies | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Expose the HF default port | |
| EXPOSE 7860 | |
| # Run the server on port 7860 | |
| CMD ["python", "server.py", "--port", "7860"] |