DeathDaDev commited on
Commit
d1605a3
1 Parent(s): f56769c

Expose ports for Ollama and Flask web server and install Flask.

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -2
Dockerfile CHANGED
@@ -22,5 +22,7 @@ WORKDIR $HOME/app
22
  # Start Ollama server
23
  RUN ollama serve
24
 
25
- # Expose port 11434 for Ollama
26
- EXPOSE 11434
 
 
 
22
  # Start Ollama server
23
  RUN ollama serve
24
 
25
+ # Expose port 11434 for Ollama and 5000 for the web server
26
+ EXPOSE 11434 5000
27
+ RUN apt-get update && apt-get install python3-pip -y
28
+ RUN pip3 install flask