feat(aio): entrypoint, update workflows (#1872)

This commit is contained in:
Ettore Di Giacinto 2024-03-21 22:09:04 +01:00 committed by GitHub
parent 743095b7d8
commit abc9360dc6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 191 additions and 16 deletions

View file

@ -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" ]