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.
1 parent 9a8c9a8 commit 38f5d5bCopy full SHA for 38f5d5b
services/identity/Dockerfile
@@ -41,7 +41,7 @@ EXPOSE 10001
41
42
ENV JAVA_TOOL_OPTIONS "-Xmx128m"
43
44
-COPY jwks.json default_jwks.json
+COPY jwks.json /app/default_jwks.json
45
COPY entrypoint.sh /entrypoint.sh
46
COPY health.sh /app/health.sh
47
CMD [ "/entrypoint.sh"]
services/identity/entrypoint.sh
@@ -2,10 +2,10 @@
2
set -e
3
4
if [ -f /keys/jwks.json ]; then
5
- JWKS=$(openssl base64 -in /keys/jwks.json -A)
+ JWKS=$(openssl base64 -in /app/keys/jwks.json -A)
6
else
7
echo "Loading default JWKS file."
8
- JWKS=$(openssl base64 -in /default_jwks.json -A)
+ JWKS=$(openssl base64 -in /app/default_jwks.json -A)
9
fi
10
java -jar /app/identity-service-1.0-SNAPSHOT.jar --app.jwksJson=$JWKS
11
0 commit comments