Skip to content

Commit

Permalink
Commit works.
Browse files Browse the repository at this point in the history
  • Loading branch information
cheroliv committed Nov 4, 2024
1 parent 102a8d5 commit 904b655
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM gradle:jdk21-alpine AS build
COPY . .
RUN gradle -p api :build -x test

FROM openjdk:jre-alpine
COPY --from=build /api/build/libs/api-0.0.1.jar school-api.jar
EXPOSE 8080
ENTRYPOINT ["java","-jar","school-api.jar"]

0 comments on commit 904b655

Please sign in to comment.