Skip to content

Commit 38f5d5b

Browse files
committed
Fix convention
1 parent 9a8c9a8 commit 38f5d5b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

services/identity/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ EXPOSE 10001
4141

4242
ENV JAVA_TOOL_OPTIONS "-Xmx128m"
4343

44-
COPY jwks.json default_jwks.json
44+
COPY jwks.json /app/default_jwks.json
4545
COPY entrypoint.sh /entrypoint.sh
4646
COPY health.sh /app/health.sh
4747
CMD [ "/entrypoint.sh"]

services/identity/entrypoint.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
set -e
33

44
if [ -f /keys/jwks.json ]; then
5-
JWKS=$(openssl base64 -in /keys/jwks.json -A)
5+
JWKS=$(openssl base64 -in /app/keys/jwks.json -A)
66
else
77
echo "Loading default JWKS file."
8-
JWKS=$(openssl base64 -in /default_jwks.json -A)
8+
JWKS=$(openssl base64 -in /app/default_jwks.json -A)
99
fi
1010
java -jar /app/identity-service-1.0-SNAPSHOT.jar --app.jwksJson=$JWKS
1111

0 commit comments

Comments
 (0)