Add dockerfile

This commit is contained in:
Lain Soykaf 2024-05-18 12:08:42 +04:00
parent 069ce4448c
commit 769773a500
1 changed files with 8 additions and 0 deletions

8
python/Dockerfile Normal file
View File

@ -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"]