fixed docker compose

This commit is contained in:
Joe Crypto
2023-06-22 18:41:55 +00:00
parent 8627f40211
commit 5f3034a9e6
5 changed files with 50 additions and 9 deletions

21
Dockerfile-llmserver Normal file
View File

@@ -0,0 +1,21 @@
FROM nvidia/cuda:11.8.0-devel-ubuntu22.04
RUN apt-get update && apt-get install -y \
git \
python3 \
pip
WORKDIR /app
COPY . /app
# upgrade pip
RUN pip3 install --upgrade pip
RUN pip install --no-cache-dir -r requirements.txt
EXPOSE 8000
CMD ["python3", "pilot/server/llmserver.py"]