Spaces:
Build error
Build error
Commit
·
5452dd1
1
Parent(s):
aeb550e
Update Dockerfile
Browse files- Dockerfile +2 -0
Dockerfile
CHANGED
|
@@ -12,11 +12,13 @@ RUN --mount=type=secret,id=OPENAI_API_KEY \
|
|
| 12 |
RUN mkdir /.cache
|
| 13 |
RUN mkdir /nltk_data
|
| 14 |
RUN mkdir /VectorStore
|
|
|
|
| 15 |
RUN ls -la
|
| 16 |
RUN python run.py
|
| 17 |
RUN chmod 777 /VectorStore
|
| 18 |
RUN chmod 777 /nltk_data
|
| 19 |
RUN chmod 777 /.cache
|
|
|
|
| 20 |
CMD ["streamlit", "run", "app.py", "--server.port=7860"]
|
| 21 |
#CMD ls -la
|
| 22 |
EXPOSE 7860
|
|
|
|
| 12 |
RUN mkdir /.cache
|
| 13 |
RUN mkdir /nltk_data
|
| 14 |
RUN mkdir /VectorStore
|
| 15 |
+
RUN mkdir /app/.cache
|
| 16 |
RUN ls -la
|
| 17 |
RUN python run.py
|
| 18 |
RUN chmod 777 /VectorStore
|
| 19 |
RUN chmod 777 /nltk_data
|
| 20 |
RUN chmod 777 /.cache
|
| 21 |
+
RUN chmod 777 /app/.cache
|
| 22 |
CMD ["streamlit", "run", "app.py", "--server.port=7860"]
|
| 23 |
#CMD ls -la
|
| 24 |
EXPOSE 7860
|