Spaces:
Sleeping
Sleeping
Download Dockerfile from Akiteam2026/API_acne: direct link, hf CLI and curl.
- Browser
- Download file 365 Bytes
-
https://huggingface.co/spaces/Akiteam2026/API_acne/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Akiteam2026/API_acne/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Akiteam2026/API_acne/resolve/main/Dockerfile
365 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| RUN apt-get update && apt-get install -y libgl1 libglib2.0-0 && rm -rf /var/lib/apt/lists/* | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY transforms.py . | |
| COPY mobilenetv2.py . | |
| COPY predict.py . | |
| COPY app.py . | |
| COPY models ./models | |
| # EXPOSE $PORT | |
| CMD uvicorn app:app --host 0.0.0.0 --port $PORT |