dockerize

This commit is contained in:
Raven Scott
2023-04-12 16:17:18 +02:00
parent 19107543e9
commit ec7dbde761
9 changed files with 81 additions and 29 deletions

11
server/Dockerfile Normal file
View File

@ -0,0 +1,11 @@
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