Kashish commited on
Commit ·
0192387
1
Parent(s): a82b536
pre-build vectorstore at Docker build
Browse files- Dockerfile +2 -0
Dockerfile
CHANGED
|
@@ -7,6 +7,8 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|
| 7 |
|
| 8 |
COPY . .
|
| 9 |
|
|
|
|
|
|
|
| 10 |
ENV PYTHONUNBUFFERED=1
|
| 11 |
EXPOSE 7860
|
| 12 |
|
|
|
|
| 7 |
|
| 8 |
COPY . .
|
| 9 |
|
| 10 |
+
RUN python build_index.py
|
| 11 |
+
|
| 12 |
ENV PYTHONUNBUFFERED=1
|
| 13 |
EXPOSE 7860
|
| 14 |
|