Ibraaheem commited on
Commit
a0c5c98
·
1 Parent(s): 53bb329

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -43,7 +43,7 @@ USER worker
43
  # Expose the secret SECRET_EXAMPLE at buildtime and use its value as git remote URL
44
  RUN --mount=type=secret,id=OPENAI_API_KEY,mode=0444,required=true \
45
  git init && \
46
- git remote add origin $(cat /run/secrets/SECRET_EXAMPLE)
47
 
48
  # Expose the secret SECRET_EXAMPLE at buildtime and use its value as a Bearer token for a curl request
49
  RUN --mount=type=secret,id=OPENAI_API_KEY,mode=0444,required=true \
 
43
  # Expose the secret SECRET_EXAMPLE at buildtime and use its value as git remote URL
44
  RUN --mount=type=secret,id=OPENAI_API_KEY,mode=0444,required=true \
45
  git init && \
46
+ git remote add origin $(cat /run/secrets/OPENAI_API_KEY)
47
 
48
  # Expose the secret SECRET_EXAMPLE at buildtime and use its value as a Bearer token for a curl request
49
  RUN --mount=type=secret,id=OPENAI_API_KEY,mode=0444,required=true \