2023-04-12 16:17:18 +02:00
|
|
|
FROM python:bullseye
|
|
|
|
|
|
|
|
RUN apt-get update; \
|
|
|
|
apt-get install -y --no-install-recommends \
|
|
|
|
build-essential
|
|
|
|
|
|
|
|
WORKDIR /usr/src/app
|
|
|
|
|
|
|
|
RUN pip install --no-cache-dir llama-cpp-python[server]
|
|
|
|
|
2023-05-08 21:12:57 +02:00
|
|
|
CMD python3 -m llama_cpp.server
|