Skip to content

Commit

Permalink
Merge pull request #138 from antpas14/update-to-java-21
Browse files Browse the repository at this point in the history
updating to java 21
  • Loading branch information
antpas14 authored Jun 22, 2024
2 parents e7e871d + 83dcb58 commit 357a102
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM openjdk:17
FROM amazoncorretto:21-alpine
VOLUME /tmp

ADD target/backend-0.0.1-SNAPSHOT.jar app.jar
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<project.build.finalName>0.0.1-SNAPSHOT</project.build.finalName>
<jackson.version>2.15.2</jackson.version>
<fully.qualified.main.class>org.gcnc.calculate.Application</fully.qualified.main.class>
<java.version>17</java.version>
<java.version>21</java.version>
</properties>

<build>
Expand Down
4 changes: 3 additions & 1 deletion src/main/resources/application-local.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
properties:
fetcher:
url: "http://localhost:5000"
url: "http://localhost:5000"
server:
port: 8080
1 change: 1 addition & 0 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
server:
servlet:
context-path: /
port: 8100
logging:
level:
org.springframework.web: DEBUG
Expand Down

0 comments on commit 357a102

Please sign in to comment.