heikowagner commited on
Commit
8acd439
1 Parent(s): 863a1d2

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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
- export OPENAI_API_KEY=$(cat /run/secrets/OPENAI_API_KEY)
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