zhtet commited on
Commit
b1a958d
1 Parent(s): b38954e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -31,8 +31,8 @@ EXPOSE 8501
31
  HEALTHCHECK CMD --fail http://localhost:8501/_stcore/health
32
 
33
  # Get the secret key and clone it as repo at build time
34
- RUN --mount=type=secret,id=OPENAI_API_KEY,mode=0444,required=true \
35
- git clone $(cat /run/secrets/OPENAI_API_KEY)
36
 
37
  ENTRYPOINT ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]
38
  # CMD [ "streamlit" , "run", "app.py"]
 
31
  HEALTHCHECK CMD --fail http://localhost:8501/_stcore/health
32
 
33
  # Get the secret key and clone it as repo at build time
34
+ # RUN --mount=type=secret,id=OPENAI_API_KEY,mode=0444,required=true \
35
+ # git clone $(cat /run/secrets/OPENAI_API_KEY)
36
 
37
  ENTRYPOINT ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]
38
  # CMD [ "streamlit" , "run", "app.py"]