Spaces:
Running
Running
Update Dockerfile
Browse files- 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
|
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" ]
|