Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updating to java 21 #138

Merged
merged 1 commit into from
Jun 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading