Spaces:
Runtime error
Runtime error
Download Dockerfile from behaviour01/deep_learning: direct link, hf CLI and curl.
- Browser
- Download file 257 Bytes
-
https://huggingface.co/spaces/behaviour01/deep_learning/resolve/ff71fd763aa11221334e97ee052d5c19239625cb/Dockerfile
- Command line
-
hf download hf://spaces/behaviour01/deep_learning@ff71fd763aa11221334e97ee052d5c19239625cb/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/behaviour01/deep_learning/resolve/ff71fd763aa11221334e97ee052d5c19239625cb/Dockerfile
257 Bytes
| FROM python:3.10-slim | |
| WORKDIR /app | |
| # Install system dependencies | |
| RUN apt-get update && \ | |
| apt-get install -y gcc && \ | |
| rm -rf /var/lib/apt/lists/* | |
| # Copy source code | |
| COPY app.py . | |
| # Expose port 7860 for Flask | |
| EXPOSE 7860 | |
| CMD ["python", "app.py"] |