heikowagner commited on
Commit
4ab369f
1 Parent(s): b40fa8d

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -8,11 +8,11 @@ COPY ./app .
8
  RUN pip install -r requirements.txt
9
  RUN ls -la
10
  #RUN python load_docs.py
 
 
11
  RUN python run.py
12
  RUN mkdir /.cache
13
  RUN chmod 777 /.cache
14
- RUN --mount=type=secret,id=OPENAI_API_KEY,mode=0444,required=true \
15
- cat /run/secrets/OPENAI_API_KEY > /.openaikey
16
 
17
  CMD ["streamlit", "run", "app.py", "--server.port=7860"]
18
  #CMD ls -la
 
8
  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,mode=0444,required=true \
12
+ cat /run/secrets/OPENAI_API_KEY > /.openaikey
13
  RUN python run.py
14
  RUN mkdir /.cache
15
  RUN chmod 777 /.cache
 
 
16
 
17
  CMD ["streamlit", "run", "app.py", "--server.port=7860"]
18
  #CMD ls -la