File size: 329 Bytes
de9a060
8107b3b
 
de9a060
8aed52a
14eff50
8aed52a
7e3b0aa
 
8107b3b
022e5f2
8107b3b
 
 
eb8af4c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FROM python:3.11
RUN apt update 
RUN apt install git
RUN git clone https://github.com/lanqian528/chat2api.git /app

WORKDIR "app"

RUN mkdir -p /app/data
RUN chmod -R 777 /app/data
RUN pip install --no-cache-dir -r requirements.txt
RUN pip install python-multipart

EXPOSE 5005

CMD ["python", "app.py", "--host", "0.0.0.0:5005"]