update dockerfile for server-non-gpu

This commit is contained in:
Raven Scott 2023-05-27 07:35:41 +02:00
parent 6ed34de804
commit 61c2fed773

View File

@ -1,11 +1,11 @@
FROM python:bullseye FROM ubuntu:latest
RUN apt-get update; \ RUN apt-get update; \
apt-get install -y --no-install-recommends \ apt-get install -y --no-install-recommends \
build-essential build-essential cmake python3 python3-pip
WORKDIR /usr/src/app WORKDIR /usr/src/app
RUN pip install --no-cache-dir llama-cpp-python[server] RUN pip3 install llama-cpp-python[server]
CMD python3 -m llama_cpp.server CMD python3 -m llama_cpp.server