Skip to content

Commit

Permalink
Merge pull request #501 from dgarijo/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
dgarijo authored Mar 17, 2022
2 parents c62976e + ec289e9 commit b48fb41
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
## Eclipse
#################

JAR/*

*.pydevproject
.project
.metadata
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ WORKDIR /var/build/widoco
COPY . .

RUN mvn package && \
mv ./jar/widoco*.jar ./jar/widoco.jar
mv ./JAR/widoco*.jar ./JAR/widoco.jar

# ----
FROM openjdk:17-slim

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 b48fb41

Please sign in to comment.