UB_VSA / Dockerfile
AUMREDKA's picture
Updating permissions for all files in root
5534a0c verified
raw
history blame
378 Bytes
FROM python:3.9-slim
WORKDIR /app
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
RUN echo "Installed required Python packages."
COPY buffalo_rag/ /app/buffalo_rag
COPY main.py /app/main.py
COPY data/ /app/data
COPY start.sh /app/start.sh
RUN chmod +x /app/start.sh
EXPOSE 7860
EXPOSE 8000
RUN chmod 777 /app
CMD ["/bin/bash", "/app/start.sh"]