B FastembedAPI: Add requirements.txt
This commit is contained in:
parent
dd48810186
commit
8329ad5214
|
@ -2,7 +2,8 @@ FROM python:3.9
|
||||||
|
|
||||||
WORKDIR /code
|
WORKDIR /code
|
||||||
COPY fastembed-server.py /workdir/fastembed-server.py
|
COPY fastembed-server.py /workdir/fastembed-server.py
|
||||||
|
COPY requirements.txt /workdir/requirements.txt
|
||||||
|
|
||||||
RUN pip install --no-cache-dir --upgrade fastembed fastapi uvicorn
|
RUN pip install -r /workdir/requirements.txt
|
||||||
|
|
||||||
CMD ["python", "/workdir/fastembed-server.py"]
|
CMD ["python", "/workdir/fastembed-server.py"]
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
fastapi==0.111.0
|
||||||
|
fastembed==0.2.7
|
||||||
|
pydantic==1.10.15
|
||||||
|
uvicorn==0.29.0
|
Loading…
Reference in New Issue