Skip to content

Commit 6b1fea2

Browse files
committed
fix: Update JAR file path in Dockerfile
1 parent f32f307 commit 6b1fea2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ RUN ./gradlew bootJar -x test -x clean --build-cache --parallel
99

1010
FROM cloudtype/jre:17
1111
WORKDIR /app
12-
COPY --from=build /app/Location-based-target-authentication/build/libs/*.jar app.jar
12+
COPY --from=build /app/Location-based-target-authentication/build/libs/*.jar /app/app.jar
1313

1414
EXPOSE 8443
15-
ENTRYPOINT ["java", "-jar", "app.jar"]
15+
ENTRYPOINT ["java", "-jar", "/app/app.jar"]

0 commit comments

Comments
 (0)