netero89 commited on
Commit
ab8a6d7
·
verified ·
1 Parent(s): 0c60c20

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +18 -1
Dockerfile CHANGED
@@ -10,6 +10,23 @@ RUN mkdir -p /.ollama && chmod 777 /.ollama
10
 
11
  # Command to run the application
12
  CMD ollama serve
 
13
 
14
  # Expose the server port
15
- EXPOSE 7860
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10
 
11
  # Command to run the application
12
  CMD ollama serve
13
+ CMD ollama run mistral
14
 
15
  # Expose the server port
16
+ EXPOSE 7860
17
+
18
+
19
+ COPY requirements.txt ./
20
+
21
+ RUN pip install --no-cache-dir -r requirements.txt
22
+
23
+
24
+ # Make port 80 available to the world outside this container
25
+ EXPOSE 80
26
+
27
+ # Define environment variable
28
+ ENV NAME World
29
+
30
+ # Run app.py when the container launches
31
+ CMD ["python", "app.py"]
32
+