mirror of
https://github.com/katanemo/plano.git
synced 2026-05-27 14:17:15 +02:00
Fold function_resolver into model_server (#103)
This commit is contained in:
parent
b0ce5eca93
commit
f4395d39f9
24 changed files with 31 additions and 197 deletions
|
|
@ -31,7 +31,7 @@ ENV NER_MODELS="urchade/gliner_large-v2.1"
|
|||
|
||||
COPY --from=builder /runtime /usr/local
|
||||
|
||||
COPY /app /app
|
||||
COPY ./ /app
|
||||
WORKDIR /app
|
||||
|
||||
RUN apt-get update && apt-get install -y \
|
||||
|
|
@ -45,4 +45,4 @@ RUN apt-get update && apt-get install -y \
|
|||
# RUN python install.py && \
|
||||
# find /root/.cache/torch/sentence_transformers/ -name onnx -exec rm -rf {} +
|
||||
|
||||
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "80"]
|
||||
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "80"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue