Spaces:
Sleeping
Sleeping
Download Dockerfile from roseluo/WaveSign-API: direct link, hf CLI and curl.
- Browser
- Download file 426 Bytes
-
https://huggingface.co/spaces/roseluo/WaveSign-API/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/roseluo/WaveSign-API/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/roseluo/WaveSign-API/resolve/main/Dockerfile
426 Bytes
| FROM python:3.11-slim | |
| # Install system dependencies | |
| RUN apt-get update && apt-get install -y \ | |
| poppler-utils \ | |
| gcc \ | |
| && rm -rf /var/lib/apt/lists/* | |
| # Set working directory | |
| WORKDIR /app | |
| # Copy all files | |
| COPY . . | |
| # Install Python dependencies | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Expose port | |
| EXPOSE 7860 | |
| # Start the API server | |
| CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"] | |