Spaces:
Build error
Build error
heikowagner
commited on
Commit
•
8acd439
1
Parent(s):
863a1d2
Update Dockerfile
Browse files- Dockerfile +1 -2
Dockerfile
CHANGED
@@ -9,8 +9,7 @@ RUN pip install -r requirements.txt
|
|
9 |
RUN ls -la
|
10 |
#RUN python load_docs.py
|
11 |
RUN --mount=type=secret,id=OPENAI_API_KEY \
|
12 |
-
|
13 |
-
|
14 |
RUN python run.py
|
15 |
RUN mkdir /.cache
|
16 |
RUN chmod 777 /.cache
|
|
|
9 |
RUN ls -la
|
10 |
#RUN python load_docs.py
|
11 |
RUN --mount=type=secret,id=OPENAI_API_KEY \
|
12 |
+
cat /run/secrets/OPENAI_API_KEY > .openapikey
|
|
|
13 |
RUN python run.py
|
14 |
RUN mkdir /.cache
|
15 |
RUN chmod 777 /.cache
|