Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F85949939
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
885 B
Referenced Files
None
Subscribers
None
View Options
diff --git a/supplemental/search/fastembed-api/Dockerfile b/supplemental/search/fastembed-api/Dockerfile
index f83c1c1b3..c1e0ef51f 100644
--- a/supplemental/search/fastembed-api/Dockerfile
+++ b/supplemental/search/fastembed-api/Dockerfile
@@ -1,8 +1,9 @@
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"]
diff --git a/supplemental/search/fastembed-api/requirements.txt b/supplemental/search/fastembed-api/requirements.txt
new file mode 100644
index 000000000..db67a8402
--- /dev/null
+++ b/supplemental/search/fastembed-api/requirements.txt
@@ -0,0 +1,4 @@
+fastapi==0.111.0
+fastembed==0.2.7
+pydantic==1.10.15
+uvicorn==0.29.0
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Wed, Nov 18, 9:48 AM (1 d, 7 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1840293
Default Alt Text
(885 B)
Attached To
Mode
rPUBE pleroma-upstream
Attached
Detach File
Event Timeline