Skip to content

Commit

Permalink
fix(upload-notes): fixed rabbit connection
Browse files Browse the repository at this point in the history
  • Loading branch information
EchoSkorJjj committed Apr 23, 2024
1 parent 9681e65 commit fcb8947
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/complex/upload-notes/UploadNotes.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ RUN jlink --no-header-files \
--no-man-pages \
--compress=2 \
--strip-debug \
--add-modules java.base,java.desktop,java.naming,java.management,java.security.jgss,java.instrument \
--add-modules java.base,java.desktop,java.naming,java.management,java.security.jgss,java.instrument,java.crypto \
--output /spring-boot-runtime

FROM maven:3.9.6-amazoncorretto-17
COPY --from=jlink /spring-boot-runtime /usr/lib/jvm/spring-boot-runtime
WORKDIR /app
COPY --from=build /app/target/UploadNotes-0.0.1-SNAPSHOT.jar app.jar
CMD ["/usr/lib/jvm/spring-boot-runtime/bin/java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "app.jar"]
CMD ["/usr/lib/jvm/spring-boot-runtime/bin/java", "-Djava.security.egd=file:/dev/./urandom", "-Dhttps.protocols=TLSv1.2,TLSv1.3", "-Djdk.tls.client.protocols=TLSv1.2,TLSv1.3", "-jar", "app.jar"]

0 comments on commit fcb8947

Please sign in to comment.