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

11 lines
291 B
Docker
Raw Normal View History

2023-04-12 10:17:18 -04: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-07 08:18:17 -04:00
CMD python3 -m llama_cpp.server --model /usr/src/app/models/gpt4-x-alpaca-13b-native-4bit-128g.bin