akra35567 commited on
Commit
22d3c29
·
verified ·
1 Parent(s): ff98279

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -6,11 +6,12 @@ RUN curl -fsSL https://ollama.com/install.sh | sh
6
  WORKDIR /app
7
  COPY requirements.txt .
8
  COPY app.py .
 
 
9
  COPY database.py .
10
 
11
- RUN pip install --no-cache-dir -r requirements.txt
12
 
13
- # PUXA MODELO 1.5B
14
  RUN ollama serve & \
15
  until curl -s http://localhost:11434/api/tags > /dev/null; do sleep 2; done && \
16
  ollama pull qwen2.5:1.5b-instruct-q4_0 && \
 
6
  WORKDIR /app
7
  COPY requirements.txt .
8
  COPY app.py .
9
+ COPY treinamento.py .
10
+ COPY config.py .
11
  COPY database.py .
12
 
13
+ RUN pip install --no-cache-dir -r requirements.txt sentence-transformers
14
 
 
15
  RUN ollama serve & \
16
  until curl -s http://localhost:11434/api/tags > /dev/null; do sleep 2; done && \
17
  ollama pull qwen2.5:1.5b-instruct-q4_0 && \