pleroma/supplemental/search/fastembed-api/Dockerfile
2024-05-19 12:47:08 +04:00

9 lines
201 B
Docker

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"]