PyxiLabs commited on
Commit
d484bc1
·
verified ·
1 Parent(s): e6bca2f

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +9 -4
Dockerfile CHANGED
@@ -4,9 +4,15 @@ WORKDIR /app
4
 
5
  COPY requirements.txt ollama.sh ollama.js ./
6
 
7
- RUN apt update && apt install -y curl netcat && \
 
 
 
 
 
 
8
  curl https://ollama.ai/install.sh | sh && \
9
- pip install --no-cache-dir -r requirements.txt && \
10
  chmod +x ollama.sh
11
 
12
  RUN npm i cloudflared-tunnel
@@ -17,5 +23,4 @@ ENV PATH="/usr/local/bin:$PATH"
17
 
18
  EXPOSE 7860 11434
19
 
20
- ENTRYPOINT ["/app/ollama.sh"]
21
- #CMD ["node", "ollama.js"]
 
4
 
5
  COPY requirements.txt ollama.sh ollama.js ./
6
 
7
+ RUN apk update && \
8
+ apk add --no-cache --update \
9
+ curl \
10
+ netcat-openbsd \
11
+ python3 \
12
+ py3-pip \
13
+ bash && \
14
  curl https://ollama.ai/install.sh | sh && \
15
+ pip3 install --no-cache-dir -r requirements.txt && \
16
  chmod +x ollama.sh
17
 
18
  RUN npm i cloudflared-tunnel
 
23
 
24
  EXPOSE 7860 11434
25
 
26
+ ENTRYPOINT ["/app/ollama.sh"]