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
9 changed files with 191 additions and 16 deletions
+3 -4
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" ]