Update Dockerfile
Browse files- Dockerfile +4 -2
Dockerfile
CHANGED
|
@@ -6,12 +6,14 @@ RUN curl -fsSL https://ollama.com/install.sh | sh
|
|
| 6 |
WORKDIR /app
|
| 7 |
COPY requirements.txt .
|
| 8 |
COPY app.py .
|
|
|
|
| 9 |
COPY treinamento.py .
|
| 10 |
COPY config.py .
|
| 11 |
-
COPY
|
| 12 |
|
| 13 |
-
RUN pip install --no-cache-dir -r requirements.txt
|
| 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 && \
|
|
|
|
| 6 |
WORKDIR /app
|
| 7 |
COPY requirements.txt .
|
| 8 |
COPY app.py .
|
| 9 |
+
COPY database.py .
|
| 10 |
COPY treinamento.py .
|
| 11 |
COPY config.py .
|
| 12 |
+
COPY web_search.py . # ← NOVO
|
| 13 |
|
| 14 |
+
RUN pip install --no-cache-dir -r requirements.txt
|
| 15 |
|
| 16 |
+
# PUXA MODELO 1.5B
|
| 17 |
RUN ollama serve & \
|
| 18 |
until curl -s http://localhost:11434/api/tags > /dev/null; do sleep 2; done && \
|
| 19 |
ollama pull qwen2.5:1.5b-instruct-q4_0 && \
|