Add Dockerfile + build workflow

This commit is contained in:
Niek van der Maas
2023-04-12 11:53:39 +02:00
parent 9f1e565594
commit c14201dc0f
3 changed files with 48 additions and 1 deletions

10
Dockerfile Normal file
View File

@@ -0,0 +1,10 @@
FROM python:3-buster
# We need to set the host to 0.0.0.0 to allow outside access
ENV HOST 0.0.0.0
# Install the package
RUN pip install llama-cpp-python[server]
# Run the server
CMD python3 -m llama_cpp.server