Skip to content

Commit

Permalink
updated dockerfile for threat detection client
Browse files Browse the repository at this point in the history
  • Loading branch information
ag060 committed Jan 16, 2025
1 parent e3064e5 commit 26fd46e
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions apps/threat-detection/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
FROM openjdk

WORKDIR /app
COPY ./target/api-threat-detection-1.0-SNAPSHOT-jar-with-dependencies.jar /app/api-threat-detection-1.0-SNAPSHOT-jar-with-dependencies.jar
COPY start.sh /app/start.sh

RUN chmod +x /app/start.sh

CMD ["/app/start.sh"]
COPY ./target/threat-detection-1.0-SNAPSHOT-jar-with-dependencies.jar /app/threat-detection-1.0-SNAPSHOT-jar-with-dependencies.jar
CMD "java" "-XX:+ExitOnOutOfMemoryError" "-jar" "/app/threat-detection-1.0-SNAPSHOT-jar-with-dependencies.jar"

0 comments on commit 26fd46e

Please sign in to comment.