AXZ91 commited on
Commit
1b4864c
·
1 Parent(s): c6ae326

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -20,7 +20,8 @@ RUN pip install openai llama_index chainlit python-dotenv vecs nltk deeplake tra
20
 
21
  # Expose the secret SECRET_EXAMPLE at buildtime and use its value as git remote URL
22
 
23
- RUN --mount=type=secret,id=open_ai,mode=0444,required=true
 
24
 
25
  # Copy the current directory contents into the container at $HOME/app setting the owner to the user
26
  COPY --chown=user . $HOME/app
 
20
 
21
  # Expose the secret SECRET_EXAMPLE at buildtime and use its value as git remote URL
22
 
23
+ RUN --mount=type=secret,id=open_ai,mode=0444,required=true \
24
+ cat /run/secrets/EXAMPLE > /test
25
 
26
  # Copy the current directory contents into the container at $HOME/app setting the owner to the user
27
  COPY --chown=user . $HOME/app