Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
@@ -15,9 +15,12 @@ RUN pip install --no-cache-dir faiss-cpu langchain-community gradio sentence-tra
|
|
15 |
|
16 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
17 |
COPY --chown=user ./app.py /code/app.py
|
|
|
|
|
18 |
COPY --chown=user ./vectorestore/ /code/vectorstore
|
19 |
|
20 |
ENV GRADIO_SERVER_NAME="0.0.0.0"
|
|
|
21 |
EXPOSE 7860
|
22 |
|
23 |
CMD [ "python", "app.py" ]
|
|
|
15 |
|
16 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
17 |
COPY --chown=user ./app.py /code/app.py
|
18 |
+
COPY --chown=user ./common.py /code/common.py
|
19 |
+
COPY --chown=user ./infer.py /code/infer.py
|
20 |
COPY --chown=user ./vectorestore/ /code/vectorstore
|
21 |
|
22 |
ENV GRADIO_SERVER_NAME="0.0.0.0"
|
23 |
+
ENV PYTHONPATH=/code/
|
24 |
EXPOSE 7860
|
25 |
|
26 |
CMD [ "python", "app.py" ]
|