Duplicated from mmwong/hf-llm-api-01
46125f0 4180d7e 46125f0
1
2
3
4
5
6
7
8
9
FROM python:3.11 RUN apt update RUN apt install git RUN git clone https://github.com/Hansimov/hf-llm-api.git /app WORKDIR "/app" RUN mkdir /.cache && chmod 777 /.cache RUN pip install -r requirements.txt EXPOSE 23333 CMD ["python", "-m", "apis.chat_api"]