File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,13 +20,13 @@ FROM eclipse-temurin:25.0.1_8-jre
2020EXPOSE 8080
2121
2222# download script for reading docker secrets
23- ADD https://raw.githubusercontent.com/HSLdevcom/jore4-tools/main/docker/read-secrets.sh /app/scripts/read-secrets.sh
23+ ADD --chmod=755 https://raw.githubusercontent.com/HSLdevcom/jore4-tools/main/docker/read-secrets.sh /app/scripts/read-secrets.sh
2424
2525# copy over compiled jar
2626COPY --from=builder /build/target/*.jar /usr/src/jore4-auth/auth-backend.jar
2727
2828# read docker secrets into environment variables and run application
29- CMD /bin/bash -c "source /app/scripts/read-secrets.sh && java -jar /usr/src/jore4-auth/auth-backend.jar"
29+ CMD [ " /bin/bash" , "-c" , "source /app/scripts/read-secrets.sh && java -jar /usr/src/jore4-auth/auth-backend.jar" ]
3030
3131HEALTHCHECK --interval=1m --timeout=5s \
3232 CMD curl --fail http://localhost:8080/actuator/health
You can’t perform that action at this time.
0 commit comments