Spaces:
Sleeping
Sleeping
Download Dockerfile from whynotasif/DriveLedger: direct link, hf CLI and curl.
- Browser
- Download file 403 Bytes
-
https://huggingface.co/spaces/whynotasif/DriveLedger/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/whynotasif/DriveLedger/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/whynotasif/DriveLedger/resolve/main/Dockerfile
403 Bytes
| FROM python:3.10-slim | |
| WORKDIR /app | |
| # install OS packages needed for timezone handling and build tools | |
| RUN apt-get update && \ | |
| apt-get install -y --no-install-recommends tzdata && \ | |
| rm -rf /var/lib/apt/lists/* | |
| COPY . /app | |
| RUN pip install --no-cache-dir fastapi uvicorn[standard] requests pydantic | |
| EXPOSE 7860 | |
| CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"] |