Skip to content

Commit 9f8f2f3

Browse files
committed
using dash source
1 parent ac78df4 commit 9f8f2f3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.stage.env

56 Bytes
Binary file not shown.

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ USER ${USERNAME}
1414
RUN npm cache clean --force && npm install
1515
EXPOSE 4200
1616
EXPOSE 9876
17-
RUN --mount=type=secret,id=mysecret set -a && source /run/secrets/mysecret && set +a && npm run build
17+
RUN --mount=type=secret,id=mysecret,dst=/secrets ls -l
18+
RUN --mount=type=secret,id=mysecret,dst=/secrets eval "$(echo $(cat /secrets))" && npm run build
1819

1920

2021
FROM nginx:1.21 AS production

0 commit comments

Comments
 (0)