We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b04f1aa + 04b119e commit 09a6991Copy full SHA for 09a6991
Dockerfile
@@ -8,5 +8,7 @@ ADD . /service
8
9
RUN yarn install
10
RUN yarn build
11
+COPY entrypoint.sh /entrypoint.sh
12
-CMD yarn start
13
+ENTRYPOINT ["/entrypoint.sh"]
14
+CMD yarn start
entrypoint.sh
@@ -0,0 +1,10 @@
1
+#!/bin/sh
2
+set -eu
3
+set -a
4
+if [ -d /vault/secrets ]; then
5
+ for f in /vault/secrets/*;
6
+ do [ -f "$f" ] && . "$f" || true;
7
+ done
+fi
+set +a
+exec "$@"
0 commit comments