Spaces:
Sleeping
Sleeping
Download Dockerfile from Tothemnoo/winpredict: direct link, hf CLI and curl.
- Browser
- Download file 344 Bytes
-
https://huggingface.co/spaces/Tothemnoo/winpredict/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Tothemnoo/winpredict/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Tothemnoo/winpredict/resolve/main/Dockerfile
344 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| ENV PYTHONDONTWRITEBYTECODE=1 | |
| ENV PYTHONUNBUFFERED=1 | |
| RUN python manage.py collectstatic --noinput | |
| EXPOSE 7860 | |
| CMD ["gunicorn", "mlserve.wsgi:application", "--bind", "0.0.0.0:7860", "--workers", "2", "--threads", "4"] |