File size: 378 Bytes
cd87b87
 
d8f06d4
cd87b87
 
669b6be
 
d8f06d4
 
 
 
 
 
 
669b6be
d8f06d4
 
5534a0c
 
d8f06d4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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"]