Spaces:
Sleeping
Sleeping
Next7years
commited on
Commit
•
027f17b
1
Parent(s):
7652618
dd
Browse files- Dockerfile +0 -3
Dockerfile
CHANGED
@@ -11,9 +11,6 @@ RUN --mount=type=secret,id=SECRET_EXAMPLE,mode=0444,required=true \
|
|
11 |
git init && \
|
12 |
git remote add origin $(cat /run/secrets/SECRET_EXAMPLE)
|
13 |
|
14 |
-
# Expose the secret SECRET_EXAMPLE at buildtime and use its value as a Bearer token for a curl request
|
15 |
-
RUN --mount=type=secret,id=SECRET_EXAMPLE,mode=0444,required=true \
|
16 |
-
curl test -H 'Authorization: Bearer $(cat /run/secrets/SECRET_EXAMPLE)'
|
17 |
|
18 |
COPY . .
|
19 |
|
|
|
11 |
git init && \
|
12 |
git remote add origin $(cat /run/secrets/SECRET_EXAMPLE)
|
13 |
|
|
|
|
|
|
|
14 |
|
15 |
COPY . .
|
16 |
|