Download dockerfile from behrouzbz/begging: direct link, hf CLI and curl.
- Browser
- Download file 419 Bytes
-
https://huggingface.co/spaces/behrouzbz/begging/resolve/main/dockerfile
- Command line
-
hf download hf://spaces/behrouzbz/begging/dockerfile
-
curl -L -o dockerfile https://huggingface.co/spaces/behrouzbz/begging/resolve/main/dockerfile
419 Bytes
| FROM python:3.9 | |
| # نصب پیشنیازهای سیستمی | |
| RUN apt-get update && apt-get install -y \ | |
| build-essential \ | |
| && rm -rf /var/lib/apt/lists/* | |
| # نصب بسته wheel | |
| RUN pip install --no-cache-dir wheel | |
| # کپی فایلهای پروژه | |
| WORKDIR /home/user/app | |
| COPY . . | |
| # نصب وابستگیهای پایتون | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| CMD ["python", "app.py"] |