spc-pleroma/supplemental/search/fastembed-api/Dockerfile

9 lines
201 B
Docker
Raw Normal View History

2024-05-18 08:08:42 +00:00
FROM python:3.9
WORKDIR /code
COPY fastembed-server.py /workdir/fastembed-server.py
RUN pip install --no-cache-dir --upgrade fastembed fastapi uvicorn
CMD ["python", "/workdir/fastembed-server.py"]