File size: 282 Bytes
70d5ee1
 
 
 
de9a060
8aed52a
70d5ee1
 
 
8aed52a
8107b3b
 
 
 
70d5ee1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FROM python:3.11-slim

RUN apt-get update && apt-get install -y git

RUN git clone https://github.com/lanqian528/chat2api.git /app

WORKDIR /app

RUN mkdir /app/data && chmod -R 777 /app/data

RUN pip install --no-cache-dir -r requirements.txt

EXPOSE 5005

CMD ["python", "app.py"]