Spaces:
Runtime error
Runtime error
Download Dockerfile from mani880740255/Dermo_AI: direct link, hf CLI and curl.
- Browser
- Download file 420 Bytes
-
https://huggingface.co/spaces/mani880740255/Dermo_AI/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/mani880740255/Dermo_AI/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/mani880740255/Dermo_AI/resolve/main/Dockerfile
420 Bytes
| FROM python:3.10-slim | |
| ENV PYTHONDONTWRITEBYTECODE=1 | |
| ENV PYTHONUNBUFFERED=1 | |
| WORKDIR /app | |
| RUN apt-get update && apt-get install -y \ | |
| git \ | |
| ffmpeg \ | |
| libsm6 \ | |
| libxext6 \ | |
| && rm -rf /var/lib/apt/lists/* | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| EXPOSE 7860 | |
| CMD ["gunicorn", "hostingg.app:app", "--bind", "0.0.0.0:7860", "--workers", "1", "--timeout", "120"] |