Spaces:
Runtime error
Runtime error
# 1️⃣ Official Python Image Use Karo (Nvidia CUDA Image ki zaroorat nahi) | |
FROM python:3.10 | |
# 2️⃣ Working Directory Set Karo | |
WORKDIR /app | |
# 3️⃣ System Dependencies Install Karo | |
RUN apt update && apt install -y git | |
# 4️⃣ Copy Requirements & Install Dependencies | |
COPY requirements.txt . | |
RUN pip install --no-cache-dir -r requirements.txt | |
# 5️⃣ Copy Project Files | |
COPY . . | |
# 6️⃣ Expose API Port | |
EXPOSE 7860 | |
# 7️⃣ Run Server | |
CMD ["python3", "server.py"] |