File size: 304 Bytes
77a458b ac1a0e2 77a458b 20e0dba 0efcf36 77a458b 482571d 77a458b |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
FROM python:3.11-slim
RUN apt-get update && apt-get install -y git
RUN git clone https://github.com/renqabs/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
ENV ENABLE_GATEWAY=true
CMD ["python", "app.py"] |