Spaces:
Runtime error
Runtime error
Download Dockerfile from DavidJyes/getaround-api: direct link, hf CLI and curl.
- Browser
- Download file 286 Bytes
-
https://huggingface.co/spaces/DavidJyes/getaround-api/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/DavidJyes/getaround-api/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/DavidJyes/getaround-api/resolve/main/Dockerfile
286 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"] |