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

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -5
Dockerfile CHANGED
@@ -9,16 +9,12 @@ RUN mkdir -p /configuration && chmod -R g+rw /models /backends /configuration /d
9
 
10
  # 3. Bascule sur ubuntu (UID 1000)
11
  USER ubuntu
12
- WORKDIR /home/ubuntu
13
 
14
- # 4. Copie start.sh (avec les bons droits)
15
- COPY --chown=ubuntu:ubuntu start.sh /home/ubuntu/start.sh
16
- RUN chmod +x /home/ubuntu/start.sh
17
 
18
  # 5. Expose le port 7860
19
  EXPOSE 7860
20
 
21
  # 6. Lance LocalAI
22
- CMD ["/home/ubuntu/start.sh"]
23
 
24
 
 
9
 
10
  # 3. Bascule sur ubuntu (UID 1000)
11
  USER ubuntu
 
12
 
 
 
 
13
 
14
  # 5. Expose le port 7860
15
  EXPOSE 7860
16
 
17
  # 6. Lance LocalAI
18
+ CMD ["/local-ai", "--address", "0.0.0.0", "--port", "7860"]
19
 
20