-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
deps: update java to 21 and to gradle 8.5 (#38)
- Loading branch information
1 parent
90eeabb
commit 5bcb2ac
Showing
6 changed files
with
42 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,10 @@ | ||
FROM amazoncorretto:17-alpine | ||
COPY ./build/install/aam-backend-service /aam-backend-service | ||
WORKDIR /aam-backend-service/bin | ||
FROM gradle:8.10.2-jdk21-alpine AS BUILD | ||
WORKDIR /opt/app | ||
COPY . . | ||
RUN gradle installDist | ||
|
||
FROM amazoncorretto:21-alpine | ||
WORKDIR /opt/app | ||
COPY --from=BUILD /opt/app/build/install/aam-backend-service /opt/app | ||
EXPOSE 8080 | ||
CMD ./aam-backend-service | ||
CMD ./bin/aam-backend-service |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+121 Bytes
(100%)
application/aam-backend-service/gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion
2
application/aam-backend-service/gradle/wrapper/gradle-wrapper.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters