llama-cpp-python-djs-bot/server/Dockerfile
2023-04-11 19:29:41 -07:00

11 lines
223 B
Docker

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]
CMD python3 -m llama_cpp.server