TRaw commited on
Commit
2f6b65a
·
verified ·
1 Parent(s): 938150e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -11
Dockerfile CHANGED
@@ -1,12 +1,3 @@
1
- # Use Ubuntu 20.04 LTS as the base image
2
- FROM ubuntu:20.04
3
 
4
- # Update the package repository and install updates
5
- RUN sudo apt update && apt upgrade -y
6
-
7
- # Install any necessary packages here (example: git)
8
- RUN sudo apt install slim
9
-
10
- RUN sudo apt install ubuntu-desktop
11
-
12
- Run sudo reboot
 
1
+ RUN -d -v ollama:/root/.ollama -p 11434:11434 --name ollama ollama/ollama
 
2
 
3
+ RUN -it ollama ollama run