summaryrefslogtreecommitdiff
path: root/python/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'python/Dockerfile')
-rw-r--r--python/Dockerfile8
1 files changed, 8 insertions, 0 deletions
diff --git a/python/Dockerfile b/python/Dockerfile
new file mode 100644
index 000000000..f83c1c1b3
--- /dev/null
+++ 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"]