Spaces:
Sleeping
Sleeping
Download Dockerfile from Djohell/get_around_API: direct link, hf CLI and curl.
- Browser
- Download file 300 Bytes
-
https://huggingface.co/spaces/Djohell/get_around_API/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Djohell/get_around_API/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Djohell/get_around_API/resolve/main/Dockerfile
300 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| # Copier tous les fichiers | |
| COPY . /app | |
| # Installer les dépendances | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Exposer le port attendu par HF | |
| EXPOSE 7860 | |
| # Lancer FastAPI | |
| CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] |