Spaces:
Sleeping
Sleeping
Download Dockerfile from PoroKami/Getaround-princing-api: direct link, hf CLI and curl.
- Browser
- Download file 291 Bytes
-
https://huggingface.co/spaces/PoroKami/Getaround-princing-api/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/PoroKami/Getaround-princing-api/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/PoroKami/Getaround-princing-api/resolve/main/Dockerfile
291 Bytes
| FROM python:3.10-slim | |
| ENV PYTHONDONTWRITEBYTECODE=1 \ | |
| PYTHONUNBUFFERED=1 \ | |
| PORT=7860 | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY api/ ./api/ | |
| EXPOSE ${PORT} | |
| CMD ["bash", "-lc", "uvicorn api.app:app --host 0.0.0.0 --port ${PORT}"] | |