mirror of
https://github.com/mudler/LocalAI.git
synced 2024-06-07 19:40:48 +00:00
9 lines
316 B
Docker
9 lines
316 B
Docker
|
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
|
||
|
|
||
|
ENTRYPOINT [ "/build/entrypoint.sh" ]
|