Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
|
@@ -7,6 +7,9 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|
| 7 |
|
| 8 |
COPY . .
|
| 9 |
|
|
|
|
|
|
|
|
|
|
| 10 |
EXPOSE 7860
|
| 11 |
|
| 12 |
CMD ["python", "app.py"]
|
|
|
|
| 7 |
|
| 8 |
COPY . .
|
| 9 |
|
| 10 |
+
# Run vector.py during build to persist embeddings
|
| 11 |
+
RUN python vector.py
|
| 12 |
+
|
| 13 |
EXPOSE 7860
|
| 14 |
|
| 15 |
CMD ["python", "app.py"]
|