Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files1 unmodified line2345678910111213141516171819202122231 unmodified lineWORKDIR /app# نصب وابستگیهای سیستمیCOPY packages.txt .RUN apt-get update && \apt-get install -y --no-install-recommends $(cat packages.txt) && \rm -rf /var/lib/apt/lists/*# نصب کتابخانههای پایتونCOPY requirements.txt .RUN pip install --no-cache-dir -r requirements.txt# کپی فایلهای پروژهCOPY . .# تعریف پورتهای قابل دسترسیEXPOSE 7860EXPOSE 5000# اجرای همزمان سرویسهاCMD ["sh", "-c", "python api.py & streamlit run app.py --server.port 7860 --server.address 0.0.0.0"]1 unmodified line234567891011121314151617181 unmodified lineWORKDIR /appCOPY packages.txt .RUN apt-get update && \apt-get install -y --no-install-recommends $(cat packages.txt) && \rm -rf /var/lib/apt/lists/*COPY requirements.txt .RUN pip install --no-cache-dir -r requirements.txtCOPY . .EXPOSE 5000EXPOSE 7860CMD ["sh", "-c", "python api.py & streamlit run app.py --server.port 7860 --server.address 0.0.0.0"]
Dockerfile+2-7