Spaces:
Build error
Build error
| From python:3.11-slim | |
| run apt-get update && apt-get install -y ffmpeg libsm6 libxext6 git && rm -rf /var/lib/apt/lists/* | |
| WORKDIR /app | |
| COPY . . | |
| WORKDIR /app/Rag/requirements | |
| RUN pip install --no-cache-dir -r requirement.txt && pip install --no-cache-dir moviepy==1.0.3 | |
| RUN git clone https://github.com/Infosys/Infosys-Responsible-AI-Toolkit.git | |
| RUN find . -maxdepth 5 -type f -iname "main.py" | |
| #WORKDIR /app/Rag #/requirements | |
| #RUN find . -maxdepth 3 -type f -iname "requirement*.txt" | |
| #ENV PYTHONPATH=/app/src | |
| WORKDIR /app/Rag/src | |
| ENV PORT=7860 | |
| EXPOSE 7860 | |
| CMD ["python", "main.py"] |