Spaces:
Runtime error
Runtime error
Update requirements.txt with version specifications and enhance ensure_output_dir function to check directory writability
c382300 Download Dockerfile from Agents-MCP-Hackathon/CodeViz: direct link, hf CLI and curl.
- Browser
- Download file 161 Bytes
-
https://huggingface.co/spaces/Agents-MCP-Hackathon/CodeViz/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Agents-MCP-Hackathon/CodeViz/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Agents-MCP-Hackathon/CodeViz/resolve/main/Dockerfile
161 Bytes
| FROM python:3.9-slim | |
| WORKDIR /code | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| EXPOSE 7860 | |
| CMD ["python", "app.py"] |