Spaces:
Sleeping
Sleeping
Download Dockerfile from aliSaac510/Embedding: direct link, hf CLI and curl.
- Browser
- Download file 360 Bytes
-
https://huggingface.co/spaces/aliSaac510/Embedding/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/aliSaac510/Embedding/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/aliSaac510/Embedding/resolve/main/Dockerfile
360 Bytes
| FROM python:3.11-slim | |
| # ضبط بيئة العمل | |
| WORKDIR /code | |
| # تثبيت المتطلبات | |
| COPY ./requirements.txt /code/requirements.txt | |
| RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt | |
| # نسخ الكود | |
| COPY . . | |
| # تشغيل السيرفر على بورت 7860 | |
| CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"] | |