Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files4 unmodified lines567891011121314151617184 unmodified linesRUN apt-get update && apt-get install -y --no-install-recommends gcc# تنظیم مسیر کاریWORKDIR /# کپی فایل requirements و نصب کتابخانههاCOPY requirements.txt .RUN pip install --no-cache-dir -r requirements.txt# کپی تمام فایلهای پوشه app به /app در کانتینرCOPY ./app ./app# دستور اجرای برنامهCMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]4 unmodified lines567891011121314154 unmodified linesRUN apt-get update && apt-get install -y --no-install-recommends gcc# تنظیم مسیر کاریWORKDIR /app# کپی فایل requirements و نصب کتابخانههاCOPY requirements.txt .RUN pip install --no-cache-dir -r requirements.txt# دستور اجرای برنامهCMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
Dockerfile+2-5