Update Dockerfile
Browse files- Dockerfile +5 -3
Dockerfile
CHANGED
|
@@ -12,7 +12,11 @@ RUN curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.p
|
|
| 12 |
|
| 13 |
COPY . /app
|
| 14 |
|
| 15 |
-
RUN pip install
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
|
| 17 |
COPY search.py /usr/local/lib/python3.10/site-packages/graphrag/query/structured_search/local_search/search.py
|
| 18 |
|
|
@@ -23,8 +27,6 @@ RUN git clone https://huggingface.co/datasets/nameliu/graphrag-data && \
|
|
| 23 |
git checkout master && \
|
| 24 |
git-lfs pull
|
| 25 |
|
| 26 |
-
RUN which git-lfs
|
| 27 |
-
|
| 28 |
EXPOSE 8080
|
| 29 |
|
| 30 |
CMD ["/app/start.sh"]
|
|
|
|
| 12 |
|
| 13 |
COPY . /app
|
| 14 |
|
| 15 |
+
RUN pip install git-lfs
|
| 16 |
+
|
| 17 |
+
RUN which git-lfs
|
| 18 |
+
|
| 19 |
+
RUN pip install graphrag==1.0.0 fastapi uvicorn
|
| 20 |
|
| 21 |
COPY search.py /usr/local/lib/python3.10/site-packages/graphrag/query/structured_search/local_search/search.py
|
| 22 |
|
|
|
|
| 27 |
git checkout master && \
|
| 28 |
git-lfs pull
|
| 29 |
|
|
|
|
|
|
|
| 30 |
EXPOSE 8080
|
| 31 |
|
| 32 |
CMD ["/app/start.sh"]
|