mirror of
https://github.com/mudler/LocalAI.git
synced 2025-05-31 16:05:00 +00:00
feat(aio): entrypoint, update workflows (#1872)
This commit is contained in:
parent
743095b7d8
commit
abc9360dc6
9 changed files with 191 additions and 16 deletions
|
@ -1,9 +1,8 @@
|
|||
ARG BASE_IMAGE=ubuntu:22.04
|
||||
|
||||
FROM ${BASE_IMAGE}
|
||||
ARG SIZE=cpu
|
||||
ENV MODELS="/aio-models/embeddings.yaml,/aio-models/text-to-speech.yaml,/aio-models/image-gen.yaml,/aio-models/text-to-text.yaml,/aio-models/speech-to-text.yaml,/aio-models/vision.yaml"
|
||||
|
||||
COPY aio/${SIZE} /aio-models
|
||||
RUN apt-get update && apt-get install -y pciutils && apt-get clean
|
||||
|
||||
ENTRYPOINT [ "/build/entrypoint.sh" ]
|
||||
COPY aio/ /aio
|
||||
ENTRYPOINT [ "/aio/entrypoint.sh" ]
|
Loading…
Add table
Add a link
Reference in a new issue