Spaces:
houin
/
Runtime error

c2ai / Dockerfile
Vinbor's picture
Update Dockerfile
7e3b0aa verified
raw
history blame contribute delete
294 Bytes
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
EXPOSE 5005
CMD ["python", "app.py", "--host", "0.0.0.0:5005"]