commit: 769773a500d4c6ec021776b493f7d98c9f87e81e
parent 069ce4448c556af90293cde9b9872c3d53eb894b
Author: Lain Soykaf <lain@lain.com>
Date: Sat, 18 May 2024 12:08:42 +0400
Add dockerfile
Diffstat:
1 file changed, 8 insertions(+), 0 deletions(-)
diff --git a/python/Dockerfile b/python/Dockerfile
@@ -0,0 +1,8 @@
+FROM python:3.9
+
+WORKDIR /code
+COPY fastembed-server.py /workdir/fastembed-server.py
+
+RUN pip install --no-cache-dir --upgrade fastembed fastapi uvicorn
+
+CMD ["python", "/workdir/fastembed-server.py"]