Spaces:
Build error
Build error
heikowagner
commited on
Commit
•
551761a
1
Parent(s):
c474a36
- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -9,7 +9,6 @@ RUN pip install -r requirements.txt
|
|
9 |
#RUN python load_docs.py
|
10 |
RUN --mount=type=secret,id=OPENAI_API_KEY \
|
11 |
cat /run/secrets/OPENAI_API_KEY > .openaiapikey
|
12 |
-
RUN python run.py
|
13 |
RUN mkdir /.cache
|
14 |
RUN chmod 777 /.cache
|
15 |
RUN mkdir /nltk_data
|
@@ -17,6 +16,7 @@ RUN chmod 777 /nltk_data
|
|
17 |
RUN mkdir /VectorStore
|
18 |
RUN chmod 777 /VectorStore
|
19 |
RUN ls -la
|
|
|
20 |
CMD ["streamlit", "run", "app.py", "--server.port=7860"]
|
21 |
#CMD ls -la
|
22 |
EXPOSE 7860
|
|
|
9 |
#RUN python load_docs.py
|
10 |
RUN --mount=type=secret,id=OPENAI_API_KEY \
|
11 |
cat /run/secrets/OPENAI_API_KEY > .openaiapikey
|
|
|
12 |
RUN mkdir /.cache
|
13 |
RUN chmod 777 /.cache
|
14 |
RUN mkdir /nltk_data
|
|
|
16 |
RUN mkdir /VectorStore
|
17 |
RUN chmod 777 /VectorStore
|
18 |
RUN ls -la
|
19 |
+
RUN python run.py
|
20 |
CMD ["streamlit", "run", "app.py", "--server.port=7860"]
|
21 |
#CMD ls -la
|
22 |
EXPOSE 7860
|