Spaces:
Running
Running
modified Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -31,7 +31,7 @@ COPY --chown=user . $HOME/app
|
|
| 31 |
|
| 32 |
# Get secret EXAMPLE and output it to /test at buildtime
|
| 33 |
RUN --mount=type=secret,id=HF_Token,mode=0444,required=true \
|
| 34 |
-
cat /run/secrets/HF_Token > /HF_Token
|
| 35 |
|
| 36 |
# Get secret SECRET_EXAMPLE and clone it as repo at buildtime
|
| 37 |
#RUN --mount=type=secret,id=HF_Token,mode=0444,required=true \
|
|
|
|
| 31 |
|
| 32 |
# Get secret EXAMPLE and output it to /test at buildtime
|
| 33 |
RUN --mount=type=secret,id=HF_Token,mode=0444,required=true \
|
| 34 |
+
cat /run/secrets/HF_Token > $HOME/HF_Token
|
| 35 |
|
| 36 |
# Get secret SECRET_EXAMPLE and clone it as repo at buildtime
|
| 37 |
#RUN --mount=type=secret,id=HF_Token,mode=0444,required=true \
|