Add dockerfile
This commit is contained in:
parent
069ce4448c
commit
769773a500
8
python/Dockerfile
Normal file
8
python/Dockerfile
Normal 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"]
|
Loading…
Reference in New Issue
Block a user