pleroma/supplemental/search/fastembed-api/Dockerfile

10 lines
227 B
Docker
Raw Permalink Normal View History

2024-05-18 01:08:42 -07:00
FROM python:3.9
WORKDIR /code
COPY fastembed-server.py /workdir/fastembed-server.py
2024-05-19 01:59:03 -07:00
COPY requirements.txt /workdir/requirements.txt
2024-05-18 01:08:42 -07:00
2024-05-19 01:59:03 -07:00
RUN pip install -r /workdir/requirements.txt
2024-05-18 01:08:42 -07:00
CMD ["python", "/workdir/fastembed-server.py"]