ruslanmv commited on
Commit
ff822c8
·
1 Parent(s): c34478c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -4
Dockerfile CHANGED
@@ -8,12 +8,12 @@ USER app
8
  WORKDIR /app/.ollama
9
  #Copy dossier de models
10
  #COPY --chown=app models /.ollama
11
- #RUN chmod 777 /home/app/.ollama/models
12
  # Copy the entry point script
13
- COPY --chown=app start.sh /start.sh
14
- RUN chmod +x /start.sh
15
  # Set the entry point script as the default command
16
- CMD ["/start.sh"]
17
  #ENV OLLAMA_MODELS="/home/app/.ollama/models"
18
  # Expose the server port
19
  EXPOSE 7860
 
8
  WORKDIR /app/.ollama
9
  #Copy dossier de models
10
  #COPY --chown=app models /.ollama
11
+ RUN chmod 777 /app/.ollama/models
12
  # Copy the entry point script
13
+ COPY start.sh /app/start.sh
14
+ RUN chmod +x /app/start.sh
15
  # Set the entry point script as the default command
16
+ CMD ["/app/start.sh"]
17
  #ENV OLLAMA_MODELS="/home/app/.ollama/models"
18
  # Expose the server port
19
  EXPOSE 7860