Spaces:
Sleeping
Sleeping
File size: 649 Bytes
c9cb06a 456e344 30defb0 456e344 c9cb06a 456e344 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | # Update 206.05.25
FROM localai/localai:master-1779696300-90ea327
# Installer Nginx
RUN apt-get update && apt-get install -y nginx netcat-openbsd && rm -rf /var/lib/apt/lists/*
# Préparer les répertoires LocalAI
RUN mkdir -p /configuration && \
chmod -R 777 /models /backends /configuration /data && \
chmod +x /local-ai
# Copier config Nginx
COPY nginx.conf /etc/nginx/conf.d/default.conf
# Copier script de démarrage HFSpace
#COPY HFSpace_Entrypoint.sh /HFSpace_Entrypoint.sh
#RUN chmod +x /HFSpace_Entrypoint.sh
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
EXPOSE 7860
CMD ["/entrypoint.sh"]
#Modify Entrypoint06 |