Spaces:
Sleeping
Sleeping
Download Dockerfile from fagrrr/AI_FastAPI: direct link, hf CLI and curl.
- Browser
- Download file 338 Bytes
-
https://huggingface.co/spaces/fagrrr/AI_FastAPI/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/fagrrr/AI_FastAPI/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/fagrrr/AI_FastAPI/resolve/main/Dockerfile
338 Bytes
| FROM python:3.10-slim | |
| WORKDIR /app | |
| RUN apt-get update && apt-get install -y \ | |
| libgl1 \ | |
| libglib2.0-0 \ | |
| ffmpeg \ | |
| && rm -rf /var/lib/apt/lists/* | |
| COPY requirements.txt . | |
| RUN pip install --upgrade pip | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| RUN chmod +x start.sh | |
| EXPOSE 7860 | |
| CMD ["bash", "start.sh"] |