Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- 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/
|
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 \
|