llama-cpp-python-djs-bot/server/Dockerfile

11 lines
277 B
Docker
Raw Permalink Normal View History

2023-05-27 01:35:41 -04:00
FROM ubuntu:latest
2023-04-12 10:17:18 -04:00
RUN apt-get update; \
apt-get install -y --no-install-recommends \
2023-05-27 01:35:41 -04:00
build-essential cmake python3 python3-pip
2023-04-12 10:17:18 -04:00
WORKDIR /usr/src/app
2023-08-14 23:00:23 -04:00
RUN CMAKE_ARGS="-DLLAMA_METAL=on" FORCE_CMAKE=1 pip install llama-cpp-python[server]
2023-04-12 10:17:18 -04:00
2023-05-08 15:12:57 -04:00
CMD python3 -m llama_cpp.server