Spaces:
Runtime error
Runtime error
Download Dockerfile from carsten12/bodymeasure: direct link, hf CLI and curl.
- Browser
- Download file 427 Bytes
-
https://huggingface.co/spaces/carsten12/bodymeasure/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/carsten12/bodymeasure/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/carsten12/bodymeasure/resolve/main/Dockerfile
427 Bytes
| FROM python:3.10-slim | |
| # Set working directory | |
| WORKDIR /SMPL-Anthropometry | |
| # Install build dependencies | |
| RUN apt-get update && apt-get install -y build-essential git && rm -rf /var/lib/apt/lists/* | |
| # Copy and install requirements | |
| COPY requirements.txt . | |
| RUN pip install --upgrade pip && pip install --no-cache-dir -r requirements.txt | |
| # Copy all source code | |
| COPY . . | |
| # Run the Flask app on port 7860 | |
| CMD ["python", "app.py"] | |