Files
GenAIExamples/comps/embeddings/predictionguard/Dockerfile
2024-10-22 15:02:48 +08:00

17 lines
418 B
Docker

# Copyright (C) 2024 Prediction Guard, Inc
# SPDX-License-Identifier: Apache-2.0
FROM python:3.11-slim
COPY comps /home/comps
RUN pip install --no-cache-dir --upgrade pip setuptools && \
pip install --no-cache-dir -r /home/comps/embeddings/predictionguard/requirements.txt
ENV PYTHONPATH=$PYTHONPATH:/home
WORKDIR /home/comps/embeddings/predictionguard
ENTRYPOINT ["python", "embedding_predictionguard.py"]