Spaces:
Sleeping
Sleeping
dvsrepo
commited on
Commit
•
e92fdb2
1
Parent(s):
d47a112
try required false
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -16,10 +16,10 @@ RUN chown elasticsearch:elasticsearch start.sh
|
|
16 |
USER elasticsearch
|
17 |
|
18 |
# API KEY and password
|
19 |
-
RUN --mount=type=secret,id=API_KEY,mode=0444,required=
|
20 |
ARG API_KEY=$(cat /run/secrets/API_KEY)
|
21 |
|
22 |
-
RUN --mount=type=secret,id=PASSWORD,mode=0444,required=
|
23 |
ARG PASSWORD=$(cat /run/secrets/PASSWORD)
|
24 |
|
25 |
RUN echo $PASSWORD
|
|
|
16 |
USER elasticsearch
|
17 |
|
18 |
# API KEY and password
|
19 |
+
RUN --mount=type=secret,id=API_KEY,mode=0444,required=false
|
20 |
ARG API_KEY=$(cat /run/secrets/API_KEY)
|
21 |
|
22 |
+
RUN --mount=type=secret,id=PASSWORD,mode=0444,required=false
|
23 |
ARG PASSWORD=$(cat /run/secrets/PASSWORD)
|
24 |
|
25 |
RUN echo $PASSWORD
|