Spaces:
Sleeping
Sleeping
Download Dockerfile from mbmtop/AutoSense-Demo: direct link, hf CLI and curl.
- Browser
- Download file 280 Bytes
-
https://huggingface.co/spaces/mbmtop/AutoSense-Demo/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/mbmtop/AutoSense-Demo/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/mbmtop/AutoSense-Demo/resolve/main/Dockerfile
280 Bytes
| FROM python:3.12-slim | |
| WORKDIR /code | |
| COPY ./requirements.txt /code/requirements.txt | |
| RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt | |
| COPY . /code | |
| # Hugging Face Spaces expects port 7860 | |
| CMD ["gunicorn", "-b", "0.0.0.0:7860", "--timeout", "120", "app:server"] | |