Spaces:
Sleeping
Sleeping
Download Dockerfile from jake2004/MachineL: direct link, hf CLI and curl.
- Browser
- Download file 308 Bytes
-
https://huggingface.co/spaces/jake2004/MachineL/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/jake2004/MachineL/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/jake2004/MachineL/resolve/main/Dockerfile
308 Bytes
| FROM python:3.9 | |
| WORKDIR /app | |
| # Install system dependencies for OpenCV | |
| RUN apt-get update && apt-get install -y libgl1 libglib2.0-0 | |
| # Copy and install Python dependencies | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| CMD ["gunicorn", "-b", "0.0.0.0:7860", "app:app"] | |