d
This commit is contained in:
@@ -20,3 +20,10 @@ ENV LOCALAI_CORS_ALLOW_ORIGINS="*"
|
|||||||
RUN mkdir -p /etc/services.d/localai
|
RUN mkdir -p /etc/services.d/localai
|
||||||
COPY run.sh /etc/services.d/localai/run
|
COPY run.sh /etc/services.d/localai/run
|
||||||
RUN chmod +x /etc/services.d/localai/run
|
RUN chmod +x /etc/services.d/localai/run
|
||||||
|
|
||||||
|
# Créer un entrypoint qui utilise exec /init
|
||||||
|
RUN echo '#!/bin/bash' > /entrypoint.sh && \
|
||||||
|
echo 'exec /init' >> /entrypoint.sh && \
|
||||||
|
chmod +x /entrypoint.sh
|
||||||
|
|
||||||
|
ENTRYPOINT ["/entrypoint.sh"]
|
||||||
|
|||||||
@@ -20,3 +20,10 @@ ENV LOCALAI_CORS_ALLOW_ORIGINS="*"
|
|||||||
RUN mkdir -p /etc/services.d/localai
|
RUN mkdir -p /etc/services.d/localai
|
||||||
COPY run.sh /etc/services.d/localai/run
|
COPY run.sh /etc/services.d/localai/run
|
||||||
RUN chmod +x /etc/services.d/localai/run
|
RUN chmod +x /etc/services.d/localai/run
|
||||||
|
|
||||||
|
# Créer un entrypoint qui utilise exec /init
|
||||||
|
RUN echo '#!/bin/bash' > /entrypoint.sh && \
|
||||||
|
echo 'exec /init' >> /entrypoint.sh && \
|
||||||
|
chmod +x /entrypoint.sh
|
||||||
|
|
||||||
|
ENTRYPOINT ["/entrypoint.sh"]
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
name: "LocalAI P2P Worker"
|
name: "LocalAI P2P Worker"
|
||||||
version: "1.0.4.2"
|
version: "1.0.4.3"
|
||||||
slug: "localai-p2p-worker"
|
slug: "localai-p2p-worker"
|
||||||
description: "LocalAI P2P federation worker node"
|
description: "LocalAI P2P federation worker node"
|
||||||
arch:
|
arch:
|
||||||
|
|||||||
Reference in New Issue
Block a user