This commit is contained in:
1 parent
e3603dc2a7
commit
143d11acaa
1 file changed
+13
@@ -0,0 +1,13 @@
|
|||||||
|
version: "3.9"
|
||||||
|
services:
|
||||||
|
embed:
|
||||||
|
image: python:3.11-slim
|
||||||
|
container_name: mindnet-embed
|
||||||
|
command: bash -lc "pip install --no-cache-dir fastapi==0.111.0 uvicorn==0.30.1 sentence-transformers==3.0.1 && uvicorn embed_server:app --host 0.0.0.0 --port 8990"
|
||||||
|
ports:
|
||||||
|
- "8990:8990"
|
||||||
|
working_dir: /srv
|
||||||
|
volumes:
|
||||||
|
- ./:/srv
|
||||||
|
environment:
|
||||||
|
- TRANSFORMERS_CACHE=/srv/.hf_cache
|
||||||
Reference in new issue
Block a user