Spaces:
No application file
No application file
Download DockerFile from Muhammadidrees/bioage_api: direct link, hf CLI and curl.
- Browser
- Download file 315 Bytes
-
https://huggingface.co/spaces/Muhammadidrees/bioage_api/resolve/main/DockerFile
- Command line
-
hf download hf://spaces/Muhammadidrees/bioage_api/DockerFile
-
curl -L -o DockerFile https://huggingface.co/spaces/Muhammadidrees/bioage_api/resolve/main/DockerFile
315 Bytes
| FROM python:3.10 | |
| # Set working directory | |
| WORKDIR /code | |
| # Install dependencies | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy all files | |
| COPY . . | |
| # Expose API port | |
| EXPOSE 7860 | |
| # Start FastAPI app | |
| CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] |