Download Dockerfile from techconspartners/learnable-ai: direct link, hf CLI and curl.
- Browser
- Download file 435 Bytes
-
https://huggingface.co/spaces/techconspartners/learnable-ai/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/techconspartners/learnable-ai/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/techconspartners/learnable-ai/resolve/main/Dockerfile
435 Bytes
| FROM python:3.10-slim | |
| WORKDIR /learnableai | |
| COPY . /learnableai | |
| RUN chmod -R 777 /learnableai | |
| RUN apt-get update && apt-get install -y libgl1-mesa-glx \ | |
| build-essential \ | |
| cmake \ | |
| git \ | |
| ffmpeg&& apt-get clean && rm -rf /var/lib/apt/lists/* | |
| RUN pip install --no-cache-dir --upgrade pip | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| EXPOSE 7860 | |
| CMD ["python", "main.py","--host","0.0.0.0","--port","7860"] | |