# Variante 1 (ta base actuelle) FROM quay.io/go-skynet/local-ai:latest # (facultatif) si l'image ne contient pas curl : # RUN apk add --no-cache curl || (apt-get update && apt-get install -y curl ca-certificates) ENV MODELS_PATH=/models \ DEBUG=false \ THREADS=2 \ CONTEXT_SIZE=1024 # Crée le dossier des modèles RUN mkdir -p /models # Télécharge un petit modèle chat (TinyLlama 1.1B quantisé Q4) AU BUILD # => Embarqué dans l'image, pas besoin de réseau à l'exécution pour ce fichier. RUN curl -L -o /models/tinyllama-1.1b-chat.Q4_K_M.gguf \ https://huggingface.co/Skynet-LocalAI/tinyllama-1.1b-chat.Q4_K_M.gguf # IMPORTANT : on utilise un heredoc NON quoted (< /models/gpt-oss-20b.yaml <