Spaces:
Sleeping
Sleeping
Download Dockerfile from CooLLaMACEO/LeGoog: direct link, hf CLI and curl.
- Browser
- Download file 540 Bytes
-
https://huggingface.co/spaces/CooLLaMACEO/LeGoog/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/CooLLaMACEO/LeGoog/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/CooLLaMACEO/LeGoog/resolve/main/Dockerfile
540 Bytes
| FROM python:3.11-slim | |
| # Force logs to show up in Hugging Face console | |
| ENV PYTHONUNBUFFERED=1 | |
| WORKDIR /app | |
| # Install basic build tools | |
| RUN apt-get update && apt-get install -y --no-install-recommends build-essential && rm -rf /var/lib/apt/lists/* | |
| # Install requirements | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir --upgrade pip | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy the app | |
| COPY . . | |
| # Run the app | |
| CMD ["gunicorn", "--bind", "0.0.0.0:7860", "--workers", "1", "--threads", "8", "--timeout", "0", "app:app"] |