avilum commited on
Commit
7e14ebc
1 Parent(s): 5b2ab6f

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -4
Dockerfile CHANGED
@@ -1,11 +1,10 @@
1
  FROM python:3.11
2
 
3
- RUN pip install --no-cache faiss-cpu langchain-community gradio sentence-transformers
4
- COPY vectorstore/ /code/vectorstore/
5
- COPY app.py /code/app.py
6
 
7
  WORKDIR /code/
8
  ENV GRADIO_SERVER_NAME="0.0.0.0"
9
  EXPOSE 7860
10
 
11
- CMD [ "gradio", "app.py" ]
 
1
  FROM python:3.11
2
 
3
+ RUN pip install --no-cache-dir faiss-cpu langchain-community gradio sentence-transformers
4
+ COPY --chown=user . /code
 
5
 
6
  WORKDIR /code/
7
  ENV GRADIO_SERVER_NAME="0.0.0.0"
8
  EXPOSE 7860
9
 
10
+ CMD [ "gradio", "app.py" ]