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

10 lines
227 B
Docker
Raw Permalink 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
2024-05-19 08:59:03 +00:00
COPY requirements.txt /workdir/requirements.txt
2024-05-18 08:08:42 +00:00
2024-05-19 08:59:03 +00:00
RUN pip install -r /workdir/requirements.txt
2024-05-18 08:08:42 +00:00
CMD ["python", "/workdir/fastembed-server.py"]