Spaces:
Build error
Build error
File size: 598 Bytes
da6748b afe1e1a e4bf1db da6748b 39b0c53 da6748b 5011761 f22d431 5011761 39b0c53 c11c8eb 39b0c53 9740c31 43ae049 9740c31 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | 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"] |