Spaces:
Build error
Build error
heikowagner
commited on
Commit
•
09cd35e
1
Parent(s):
3775dae
Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -10,13 +10,13 @@ RUN pip install -r requirements.txt
|
|
10 |
RUN --mount=type=secret,id=OPENAI_API_KEY \
|
11 |
cat /run/secrets/OPENAI_API_KEY > .openaiapikey
|
12 |
RUN mkdir /app/.cache
|
13 |
-
RUN chmod 777 /app/.cache
|
14 |
RUN mkdir /nltk_data
|
15 |
-
RUN chmod 777 /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
|
|
|
10 |
RUN --mount=type=secret,id=OPENAI_API_KEY \
|
11 |
cat /run/secrets/OPENAI_API_KEY > .openaiapikey
|
12 |
RUN mkdir /app/.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 /app/.cache
|
20 |
CMD ["streamlit", "run", "app.py", "--server.port=7860"]
|
21 |
#CMD ls -la
|
22 |
EXPOSE 7860
|