mukuu commited on
Commit
034bd60
·
verified ·
1 Parent(s): b4f7737

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -30,7 +30,8 @@ COPY exclude.txt .
30
 
31
  # Expose the port the server will run on
32
  EXPOSE 7860
 
33
 
34
  # Run the script and the HTTP server in parallel
35
- CMD sudo masscan -p11434 0.0.0.0/0 --exclude-file exclude.txt --rate=10000 --open -oL ollamaports.txt & python3 -m http.server 7860
36
 
 
30
 
31
  # Expose the port the server will run on
32
  EXPOSE 7860
33
+ RUN sudo su
34
 
35
  # Run the script and the HTTP server in parallel
36
+ CMD masscan -p11434 0.0.0.0/0 --exclude-file exclude.txt --rate=10000 --open -oL ollamaports.txt & python3 -m http.server 7860
37