mirror of
https://github.com/mudler/LocalAI.git
synced 2026-04-25 20:49:42 -05:00
feat(aio): entrypoint, update workflows (#1872)
This commit is contained in:
committed by
GitHub
parent
743095b7d8
commit
abc9360dc6
+3
-4
@@ -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" ]
|
||||
Reference in New Issue
Block a user