Skip to content

Commit

Permalink
feat: updating Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
FabioFiorita committed Apr 14, 2023
1 parent d3298a6 commit ae7a6ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ RUN mvn clean package -DskipTests
FROM openjdk:17-oracle
COPY --from=build /app/target/restapi-0.0.1-SNAPSHOT.jar restapi.jar
EXPOSE 8080
ENTRYPOINT ["java", "-XX:+UnlockExperimentalVMOptions", "-XX:+UseCGroupMemoryLimitForHeap", "-Djava.security.egd=file:/dev/./urandom","-jar","restapi.jar"]
ENTRYPOINT ["java", "-XX:+UnlockExperimentalVMOptions", "-XX:+UseContainerSupport", "-Djava.security.egd=file:/dev/./urandom", "-jar", "restapi.jar"]

0 comments on commit ae7a6ee

Please sign in to comment.