Commit e71f7d6d authored by femiadeyemi's avatar femiadeyemi
Browse files

use the correct variable the dockerfile and


Inside the dockerfile the variable name for the client
secret was mistyped. Also start shell file wasn't able
to pass the secret to the jar file.


- fix the mistyped in the dockerfile
- set the value of the client-secret by using the
    spring variable


User can now be authenticated.

Target: master
parent 6c87ea78
Pipeline #45343 failed with stages
in 17 minutes and 50 seconds
FROM adoptopenjdk:11-jre-hotspot
COPY target/hm-server-package.tar hms.tar
CMD tar -xvf hms.tar -C ./ && cd ./hm-server/bin && ./ -s $UNITY_CLIENT_SECRET
CMD tar -xvf hms.tar -C ./ && cd ./hm-server/bin && ./ -s $CLIENT_SECRET
......@@ -4,4 +4,4 @@ do
s) secret=${OPTARG};;
java -Xms256m -Xmx512m -server -jar -Dsceret=$secret ../lib/helmholtz-marketplace-server-0.0.1-SNAPSHOT.jar
\ No newline at end of file
java -Xms256m -Xmx512m -server -jar ../lib/helmholtz-marketplace-server-0.0.1-SNAPSHOT.jar$secret
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment