MisterAI commited on
Commit
d8502d8
·
verified ·
1 Parent(s): cf0ff8d

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -4,7 +4,8 @@ FROM localai/localai:latest
4
 
5
  # Ajoute ubuntu au groupe root et Donne les droits
6
  RUN usermod -aG root ubuntu
7
- RUN chmod -R g+rw /models /backends /configuration /data && chmod g+x /local-ai
 
8
 
9
  # 3. Bascule sur ubuntu (UID 1000)
10
  USER ubuntu
 
4
 
5
  # Ajoute ubuntu au groupe root et Donne les droits
6
  RUN usermod -aG root ubuntu
7
+ RUN mkdir -p /configuration && chmod -R g+rw /models /backends /configuration /data && chmod g+x /local-ai
8
+
9
 
10
  # 3. Bascule sur ubuntu (UID 1000)
11
  USER ubuntu