Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +3 -2
Dockerfile
CHANGED
@@ -1,8 +1,9 @@
|
|
1 |
FROM python:3.11
|
2 |
|
3 |
RUN pip install --no-cache-dir faiss-cpu langchain-community gradio sentence-transformers
|
4 |
-
COPY . /code
|
5 |
-
|
|
|
6 |
WORKDIR /code/
|
7 |
ENV GRADIO_SERVER_NAME="0.0.0.0"
|
8 |
EXPOSE 7860
|
|
|
1 |
FROM python:3.11
|
2 |
|
3 |
RUN pip install --no-cache-dir faiss-cpu langchain-community gradio sentence-transformers
|
4 |
+
COPY ./app.py /code/app.py
|
5 |
+
COPY ./vectorstore/ /code/vectorstore
|
6 |
+
RUN chmod -R 777 /code/
|
7 |
WORKDIR /code/
|
8 |
ENV GRADIO_SERVER_NAME="0.0.0.0"
|
9 |
EXPOSE 7860
|