FROM ubuntu:22.04 RUN apt-get update && apt-get install -y \ git \ python3 \ python3-pip \ build-essential \ cmake \ curl WORKDIR /app RUN git clone https://github.com/ggerganov/llama.cpp.git WORKDIR /app/llama.cpp RUN cmake -B build RUN cmake --build build -j2 WORKDIR /app COPY requirements.txt . RUN pip3 install -r requirements.txt COPY server.py . CMD ["python3","server.py"]