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 34b611c commit 006bdf4
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
FROM gradle:jdk21-alpine AS build
COPY . .
RUN gradle -s -q -p workspace-model :build -x test; gradle -s -q -p api :build -x test;
RUN gradle -s -q -p workspace-model :build -x test;
#RUN gradle -s -q -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"]
#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 006bdf4

Please sign in to comment.