Skip to content

Commit

Permalink
[New] Add JAVA_OPTIONS enviroments to run docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
blcham committed Jun 4, 2024
1 parent 7875729 commit b903d63
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,7 @@ FROM eclipse-temurin:17-jdk-alpine as runtime
COPY --from=GRADLE /fta-fmea/build/libs/fta-fmea-*.jar /fta-fmea.jar

EXPOSE 8080
CMD ["java", "-jar", "/fta-fmea.jar"]

ENV JAVA_OPTIONS=""

ENTRYPOINT ["sh", "-c", "java $JAVA_OPTIONS -jar /fta-fmea.jar"]

0 comments on commit b903d63

Please sign in to comment.