Spaces:
No application file
No application file
Download Docker from tejaredddy/Studentperformance: direct link, hf CLI and curl.
- Browser
- Download file 365 Bytes
-
https://huggingface.co/spaces/tejaredddy/Studentperformance/resolve/main/Docker
- Command line
-
hf download hf://spaces/tejaredddy/Studentperformance/Docker
-
curl -L -o Docker https://huggingface.co/spaces/tejaredddy/Studentperformance/resolve/main/Docker
365 Bytes
| # Use lightweight Python image | |
| FROM python:3.10-slim | |
| # Set working directory inside container | |
| WORKDIR /app | |
| # Copy requirements file | |
| COPY requirements.txt . | |
| # Install dependencies | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy project files | |
| COPY . . | |
| # Expose Flask port | |
| EXPOSE 5000 | |
| # Run Flask application | |
| CMD ["python", "app.py"] |