Spaces:
Running
Running
Download Dockerfile from AmrGaberr/Injury_Prediction_System: direct link, hf CLI and curl.
- Browser
- Download file 370 Bytes
-
https://huggingface.co/spaces/AmrGaberr/Injury_Prediction_System/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/AmrGaberr/Injury_Prediction_System/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/AmrGaberr/Injury_Prediction_System/resolve/main/Dockerfile
370 Bytes
| # Use official Python 3.9 image (compatible with Hugging Face Spaces) | |
| FROM python:3.9-slim | |
| # Set working directory | |
| WORKDIR /app | |
| # Copy all project files | |
| COPY . . | |
| # Install dependencies | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Expose port 7860 (Hugging Face default) | |
| EXPOSE 7860 | |
| # Run the Flask app | |
| CMD ["python", "deployment/api/app.py"] |