Skip to content

Commit

Permalink
followed good stage casing guidelines for dockerfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
dgarijo committed Aug 13, 2024
1 parent bd6ff56 commit a5ab895
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ----
FROM maven:3.8.3-openjdk-17-slim AS BUILD_IMAGE
FROM maven:3.8.3-openjdk-17-slim AS build_image

WORKDIR /var/build/widoco

Expand All @@ -22,6 +22,6 @@ USER widoco

WORKDIR /usr/local/widoco

COPY --from=BUILD_IMAGE /var/build/widoco/JAR/widoco.jar .
COPY --from=build_image /var/build/widoco/JAR/widoco.jar .

ENTRYPOINT ["sh", "-c", "java ${JAVA_OPTS} -jar widoco.jar ${0} ${@}"]

0 comments on commit a5ab895

Please sign in to comment.