f
Some checks failed
Builder / Build addons (localai-p2p-master, amd64) (push) Failing after 8s
Builder / Build addons (localai-p2p-worker, amd64) (push) Failing after 9s
Validate / validate (push) Failing after 2s
Builder / Create release (push) Has been skipped

This commit is contained in:
2025-05-30 15:25:50 +02:00
parent feb7c8214e
commit 2f6200cebc
3 changed files with 9 additions and 11 deletions

View File

@@ -17,8 +17,7 @@ ENV LOCALAI_ADDRESS="0.0.0.0:8080"
ENV LOCALAI_CORS="true"
ENV LOCALAI_CORS_ALLOW_ORIGINS="*"
# Copier le script de démarrage
COPY run.sh /usr/bin/run.sh
RUN chmod +x /usr/bin/run.sh
CMD ["/usr/bin/run.sh"]
# Copier le script de démarrage pour s6-overlay
RUN mkdir -p /etc/services.d/localai
COPY run.sh /etc/services.d/localai/run
RUN chmod +x /etc/services.d/localai/run