mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2026-02-15 17:16:57 +00:00
B FastembedAPI: Add requirements.txt
This commit is contained in:
parent
dd48810186
commit
8329ad5214
2 changed files with 6 additions and 1 deletions
|
|
@ -2,7 +2,8 @@ FROM python:3.9
|
|||
|
||||
WORKDIR /code
|
||||
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"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue