Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -11,8 +11,8 @@ WORKDIR /app
|
|
| 11 |
COPY requirements.txt .
|
| 12 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 13 |
|
| 14 |
-
# Copy
|
| 15 |
-
COPY api.py chunks.json index.faiss
|
| 16 |
|
| 17 |
# Pre-download the embedding model at build time
|
| 18 |
RUN python -c "from sentence_transformers import SentenceTransformer; SentenceTransformer('all-MiniLM-L6-v2')"
|
|
|
|
| 11 |
COPY requirements.txt .
|
| 12 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 13 |
|
| 14 |
+
# Copy app and data files
|
| 15 |
+
COPY api.py chunks.json index.faiss ./
|
| 16 |
|
| 17 |
# Pre-download the embedding model at build time
|
| 18 |
RUN python -c "from sentence_transformers import SentenceTransformer; SentenceTransformer('all-MiniLM-L6-v2')"
|