diff --git a/src/dockerfile b/src/dockerfile index 0c89167..8b1155f 100644 --- a/src/dockerfile +++ b/src/dockerfile @@ -7,5 +7,5 @@ RUN gradle build --no-daemon FROM openjdk:11-jre-slim EXPOSE 80 -COPY --from=builder /home/gradle/src/build/libs/*.jar /app/spring-boot +COPY --from=builder /home/gradle/src/build/libs/*.jar /app/spring-boot.jar ENTRYPOINT ["java", "-XX:+UnlockExperimentalVMOptions", "-XX:+UseCGroupMemoryLimitForHeap", "-Djava.security.egd=file:/dev/./urandom","-jar","/app/spring-boot.jar"]